Management Plane API > Networking > VPN > IPSEC > Sessions

Get VPN configuration for the peer site

API to download VPN configuration for the peer site. The configuration contains pre-shared key and secret; be careful when sharing or storing it.

Request:

Method:
GET
URI Path(s):
/api/v1/vpn/ipsec/sessions/<ipsec-vpn-session-id>/peer-config
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/vpn/ipsec/sessions/f962173f-ac03-4d08-8366-56a41779f61d/peer-config

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: text/plain; charset=utf-8
Response Body:
string

Required Permissions:

crud

Feature:

vpn

Additional Errors: