Policy > Networking > Network Services > VPN > IPSEC > IPSEC Profiles

Create or patch a custom IPSec tunnel Profile

Create or patch custom IPSec tunnel profile. IPSec tunnel profile is a reusable profile that captures phase two negotiation parameters and tunnel properties. System will be provisioned with system owned editable default IPSec tunnel profile. Any change in profile affects all sessions consuming this profile.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/ipsec-vpn-tunnel-profiles/<tunnel-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IPSecVpnTunnelProfile+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/ipsec-vpn-tunnel-profiles/aws-tunnel-profile { "resource_type" : "IPSecVpnTunnelProfile", "display_name" : "aws-tunnel-profile", "enable_perfect_forward_secrecy" : true, "encryption_algorithms" : [ "AES_128" ], "digest_algorithms" : [ "SHA2_256" ], "sa_life_time" : 3600, "dh_groups" : [ "GROUP14" ], "df_policy" : "COPY" }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_vpn

Additional Errors: