Attention: Changes to VPN gateway IKE and IPsec policy API
On 29 May 2026, a feature that adds support for multiple algorithms in IKE and IPsec policies for VPN gateways was made generally available in the VPC service. Because this feature changes the behavior of the related APIs, customers using automation to provision or manage these policies should complete the required remediation actions before the release becomes generally available.
If you have already completed the required remediation actions, no further action is needed.
What are we changing?
-
The following single-value properties are deprecated, but continue to be supported for backward compatibility:
- For IKE policies:
authentication_algorithm,dh_group, andencryption_algorithmare deprecated in favor ofauthentication_algorithms,dh_groups, andencryption_algorithmsarrays. - For IPsec policies:
authentication_algorithm,encryption_algorithm, andpfsare deprecated in favor ofauthentication_algorithms,encryption_algorithms, andpfs_groupsarrays.
- For IKE policies:
-
API responses will always include both the deprecated properties and the new array properties.
-
When multiple algorithms are configured in an array-based property, the deprecated properties will return sentinel values:
"multiple"for string properties (authentication_algorithm,encryption_algorithm,pfs)65535for the integerdh_groupproperty
-
PATCH operations (for both IKE and IPsec policies) will deviate from standard JSON Merge Patch (RFC 7396) semantics:
- Updating a deprecated single-value property will automatically update the corresponding array property, and vice versa.
For example:
-
A PATCH request with:
{"encryption_algorithm": "aes256"}Will set:
"encryption_algorithms": ["aes256"] -
A PATCH request with:
{"encryption_algorithms": ["aes256", "aes128"]}Will set:
"encryption_algorithm": "multiple"
Why are we making this change?
Allowing VPN gateways to negotiate across a prioritized list of cryptographic algorithms improves security and flexibility. This enhances interoperability with diverse on-premises VPN devices and enables configuration of fallback algorithms while maintaining strong security postures.
Deprecated properties remain supported to preserve backward compatibility.
Who will be affected by this change?
Accounts with client code or automation that retrieves, validates, or updates IKE or IPsec policies are affected, particularly:
- Code that parses or validates deprecated single-value properties without accounting for sentinel values
- Code that relies on standard JSON Merge Patch (RFC 7396) semantics for PATCH operations
What actions can you take to avoid a disruption?
As documented in the property value expansion guidance, ensure that your client code or automation processes deprecated property values while accounting for the new sentinel values multiple and 65535, according to API best practices.
-
For IKE policies:
authentication_algorithmandencryption_algorithmcan returnmultipledh_groupcan return65535
-
For IPsec policies:
authentication_algorithm,encryption_algorithm, andpfscan returnmultiple
-
Deprecated properties will continue to return existing (non-sentinel) values when only one algorithm is used.
Multiple algorithms are not supported for IKEv1 policies. IKEv1 policies will remain limited to a single algorithm per category.
If you or other users in your account are currently using IKE or IPsec policies, complete the following tasks:
-
Review code or automation that retrieves IKE or IPsec policies and processes the following single-value properties:
- IKE policies:
authentication_algorithmdh_groupencryption_algorithm
- IPsec policies:
authentication_algorithmencryption_algorithmpfs
- IKE policies:
-
Update validation logic to follow API best practices.