> ## Documentation Index
> Fetch the complete documentation index at: https://help.allthenticate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up SAML single sign-on for Amazon Web Services

> Connect AWS IAM Identity Center to Allthenticate over SAML so your team signs in to the AWS access portal by approving on their phone instead of a password.

## Before you start

* Admin access to the Allthenticate admin portal and to IAM Identity Center in the AWS console.
* Users who will sign in have the Allthenticator app set up.
* Keep the AWS console and the Allthenticate admin portal open in separate tabs. You move between them.

## Download the AWS metadata

**1. Open IAM Identity Center**

In the AWS console, open [IAM Identity Center](https://console.aws.amazon.com/singlesignon).

![AWS console search results for IAM Identity Center, with the IAM Identity Center service listed first](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/amazon-web-services/iam-identity-center-search.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=c92c84dfeae55502d009161fbaf87cb6)

Search the AWS console for IAM Identity Center.

**2. Start changing the identity source**

Under **IAM Identity Center setup**, select **Confirm your identity source**. Under **Identity source**, select **Actions** > **Manage authentication**.

![IAM Identity Center Identity source tab with the Actions menu open and Manage authentication highlighted](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/amazon-web-services/manage-authentication.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=19e6905f0dee9a27c2e6a674ba147827)

Actions > Manage authentication on the Identity source tab.

**3. Download the service provider metadata**

In **Service provider metadata**, select **Download metadata file**. Keep this AWS tab open.

## Configure in Allthenticate

**1. Add AWS as a service provider**

In the admin portal, go to **SSO** > **SAML** and select **Add Service Provider**. The [SAML setup guide](https://help.allthenticate.com/help/sso/saml.md#register-the-service-provider-in-allthenticate) shows each field of this dialog.

**2. Upload the AWS metadata**

Enter `AWS` as the **Provider Name**, upload the AWS metadata file under **Metadata File**, and select **Save**. AWS appears in the service provider list.

**3. Collect Allthenticate's details**

Select **AWS** in the list. From the **Metadata** section, copy the **SSO Endpoint** and **Entity ID**, and select **Download Public Key** to download `Allthenticate-Public.crt`.

## Configure in AWS

**1. Enter the identity provider metadata**

Back in the AWS tab, under the identity provider metadata section, set:

| AWS field | Value from Allthenticate |
| - | - |
| **IdP sign-in URL** | **SSO Endpoint**, for example `https://saml.allthenticate.com/saml/sso/12` |
| **IdP issuer URL** | **Entity ID**, for example `https://saml.allthenticate.com/saml/metadata/12` |

**2. Import Allthenticate's certificate**

In IAM Identity Center, go to **Settings** > **SAML 2.0 authentication**. Under **Manage SAML 2.0 Certificates**, select **Import certificate** and upload `Allthenticate-Public.crt`. AWS reads the certificate details, including its expiry date.

**3. Save the AWS access portal URL**

On the **Identity source** tab, check that **Identity source** shows **External identity provider** and **Authentication method** shows **SAML 2.0**. Then copy the **AWS access portal URL**. This is the address your team uses to reach AWS through Allthenticate, so bookmark it or share it.

AWS lists two portal URLs: **Dual-stack** and **IPv4-only**. Either works; the **IPv4-only** URL is shorter and easier to share.

![Identity source tab showing External identity provider, Authentication method SAML 2.0, and the Dual-stack and IPv4-only AWS access portal URLs](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/amazon-web-services/access-portal-urls.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=8ca0a98d3b29644b963dae6685db677b)

The AWS access portal URLs on the Identity source tab. Yours show your own subdomain.

## Add users in AWS

AWS needs a user for each person who signs in. For testing, add users by hand:

1. In the [IAM Identity Center console](https://console.aws.amazon.com/singlesignon), select **Users**.
2. Select **Add user** for each person who needs AWS access.
3. Set both the **username** and the **email address** to the email address on the person's Allthenticate account.

Then create permission sets and assign them to your users. See the AWS guide to [managing your AWS accounts](https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html).

## Test sign-in

1. Open the AWS access portal URL in a private or incognito browser window.
2. AWS redirects you to Allthenticate. Approve the request on your phone.
3. You land in the AWS access portal.

If sign-in fails, see [SAML troubleshooting](https://help.allthenticate.com/help/sso/saml.md#troubleshooting).

## Related

* [Set up Allthenticate as a SAML identity provider](https://help.allthenticate.com/help/sso/saml.md)
* [Single sign-on overview](https://help.allthenticate.com/help/sso/overview.md)
* [AWS: Manage your AWS accounts](https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.