

# Dual-stack endpoint support
<a name="reference_dual-stack_endpoint_support"></a>

Dual-stack endpoints enable clients to communicate with AWS services using either IPv4 or IPv6 addresses. Both IAM and AWS STS provide dual-stack endpoint support. For more information about how to configure your VPC for dual-stack mode, see [IPv6 support for your VPC](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6.html) in the *Amazon VPC User Guide*.

If you use IAM policies that include the `aws:sourceIp` or `aws:vpcSourceIp` condition keys, you need to update these policies to support IPv6 clients. For more information about IPv6 addressing for your VPCs, see [IP addressing for your VPCs and subnets](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html) in the *Amazon VPC User Guide*.

## IAM dual-stack endpoint support
<a name="reference_dual-stack_endpoint_support_iam"></a>

IAM provides a dual-stack public endpoint that supports both IPv4 and IPv6 clients. The IAM dual-stack public endpoint can also be accessed privately from your virtual private cloud (VPC) using AWS PrivateLink. For more information about creating private interface VPC endpoints for IAM, see [Create a VPC endpoint for IAM](reference_iam_vpc_endpoint_create.md).

The IAM dual-stack public endpoint is `https://iam.global.api.aws`. 

The IAM public endpoint at `https://iam.amazonaws.com`, unlike the dual-stack public endpoint, supports only IPv4 clients. When accessed privately from your VPC using AWS PrivateLink, the IAM public endpoint can support both IPv4 and IPv6 clients.

## AWS STS dual-stack endpoint support
<a name="reference_dual-stack_endpoint_support_sts"></a>

AWS STS provides dual-stack regional endpoints that support both IPv4 and IPv6 clients. The AWS STS dual-stack regional endpoints can also be accessed privately from your virtual private cloud (VPC) using AWS PrivateLink. For more information about creating private interface VPC endpoints for AWS STS, see [Create a VPC endpoint for AWS STS](reference_sts_vpc_endpoint_create.md).

The following table shows the AWS STS dual-stack regional endpoints by partition:


| Partition | Dual-stack endpoint URL | 
| --- | --- | 
| Commercial AWS Regions |  **Regular endpoints:** `https://sts.<region>.api.aws` **FIPS endpoints:** `https://sts-fips.<region>.api.aws`  | 
| AWS GovCloud (US) Regions |  **Regular endpoints:** `https://sts.<region>.api.aws`  | 
| China Regions |  **Regular endpoints:** `https://sts.<region>.api.amazonwebservices.com.rproxy.goskope.com.cn`  | 

**Note**  
FIPS endpoints only apply to US and Canada regions.

**Limitations**  
The following limitations apply to AWS STS dual-stack endpoint support:
+ IPv6 clients are not supported on the global endpoint `https://sts.amazonaws.com`. You must use dual-stack regional endpoints for IPv6 client support.
+ IPv6-only AWS STS VPC endpoints are not supported. VPC endpoints can be configured for IPv4 or dual-stack connectivity.