NSX-T Data Center REST API
Get VPN configuration for the peer site (Deprecated)
API to download VPN configuration for the peer site. The configuration contains pre-shared key and secret; be careful when sharing or storing it. Deprecated:Please use below Policy APIs.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/ipsec-vpn-services/<service-id>/sessions/<session-id>/peer-config
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/ipsec-vpn-services/<service-id>/sessions/<session-id>/peer-config
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
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: text/plain; charset=utf-8
Response Body:
string