NSX-T Data Center REST API
Get IPSec VPN configuration for the peer site
Download IPSec VPN configuration for the peer site. Peer config alsocontains PSK; be careful when sharing or storing it.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/tier-1s/<tier-1-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-1s/int_net/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
  