Setting up single sign-on (SSO) with IAM Identity Center
If you do not already have an identity center connected to the managed Active Directory, start with Step 1: Set up an identity center. If you already have an identity center connected with the managed Active Directory, start with Step 2: Connect to an identity center.
Note
If you are deploying to the AWS GovCloud (US-West) Region, set up SSO in the AWS GovCloud (US) partition account where you deployed Research and Engineering Studio.
Step 1: Set up an identity center
Sign in to the AWS Identity and Access Management console
. Open the Identity Center.
Choose Enable.
Choose Enable with AWS Organizations.
Choose Continue.
Note
Make sure you are in the same Region where you have your managed Active Directory.
After you enable IAM Identity Center, complete these recommended set up steps:
-
In the navigation pane, choose Settings.
-
Under Identity source, choose Actions and choose Change identity source.
-
Under Existing directories, select your directory.
-
Choose Next.
-
Review your changes and enter
ACCEPT
in the confirmation box. -
Choose Change identity source.
Once the changes made in Connecting IAM Identity Center to a managed Active Directory are complete, a green confirmation banner appears.
-
In the confirmation banner, choose Start guided setup.
-
From Configure attribute mappings, choose Next.
-
Under the User section, enter the users you want to sync.
-
Choose Add.
-
Choose Next.
-
Review your changes, then choose Save configuration.
-
The sync process may take a few minutes. If you receive a warning message about users not syncing, choose Resume sync.
-
From the menu, choose Users.
-
Select the user(s) for whom you want to enable access.
-
Choose Enable user access.
Step 2: Connect to an identity center
-
Open the IAM Identity Center console
. -
Choose Applications.
-
Choose Add application.
-
Under Setup preference, choose I have an application I want to set up.
-
Under Application type, choose SAML 2.0.
-
Choose Next.
-
Enter the display name and description you would like to use.
-
Under IAM Identity Center metadata, copy the link for the IAM Identity Center SAML metadata file. You will need this when configuring IAM Identity Center with the RES portal.
-
Under Application properties, enter your Application start URL. For example,
<your-portal-domain>/sso
. -
Under Application ACS URL, enter the redirect URL from the RES portal. To find this:
-
Under Environment management, choose General settings.
-
Select the Identity provider tab.
-
Under Single Sign-On, you will find the SAML Redirect URL.
-
-
Under Application SAML audience, enter the Amazon Cognito URN.
To create the urn:
-
From the RES portal, open General Settings.
-
Under the Identity provider tab, locate the User Pool ID.
-
Add the User Pool ID to this string:
urn:amazon:cognito:sp:
<user_pool_id>
-
-
After you enter the Amazon Cognito URN, choose Submit.
-
From the Identity Center, open the details for your created application.
-
Choose Actions, then choose Edit attribute mappings.
-
Under Subject, enter
${user:email}
. -
Under Format, choose emailAddress.
-
Choose Add new attribute mapping.
-
Under User attribute in the application, enter 'email'.
-
Under Maps to this string value or user attribute in IAM Identity Center, enter
${user:email}
. -
Under Format, enter 'unspecified'.
-
Choose Save changes.
-
From the Identity Center, open Assigned users for your created application and choose Assign users.
-
Select the users you want to assign application access.
-
Choose Assign users.
-
From the Research and Engineering Studio environment, under Environment management, open General settings.
-
Open the Identity provider tab.
-
Under Single Sign-On, choose Edit (next to Status).
-
Complete the form with the following information:
-
Choose SAML.
-
Under Provider name, enter a user friendly name.
-
Choose Enter metadata document endpoint URL.
-
Enter the URL you copied during Setting up the application in IAM Identity Center.
-
Under Provider email attribute, enter 'email'.
-
Choose Submit.
-
-
Refresh the page and check that the Status displays as enabled.