NSX-T Data Center REST API
Get IPSec VPN configuration for the peer site (Deprecated)
Download IPSec VPN configuration for the peer site. Peer config alsocontains PSK; be careful when sharing or storing it.
This API is deprecated. Please use GET /infra/tier-0s/<tier-0-id>/ipsec-vpn-services/<service-id>/sessions/<session-id>/peer-config instead.
Note:
Please note that request is validated and any error messages returned from validation may include
the new VPN path instead of the deprecated path. Both new path and old path refer to same resource.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/ipsec-vpn-services/<service-id>/sessions/<session-id>/peer-config
                  
              
            Request Headers:
                n/a
            Query Parameters:
    PolicyRuntimeOnEpRequestParameters+
  Request Body:
    n/a
  Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/ext_net/locale-services/default/ipsec-vpn-services/default/sessions/rbs-1/peer-configSuccessful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: text/plain; charset=utf-8
                Response Body:
    string
  