AWS Single Sign-On
Introduction
This guide will detail the various steps required to integrate AWS SSO as a SAML provider for your env0 organization. The current implementation supports SAML 2.0 and is used for authentication only, where you define your users in your AWS SSO account to enable them access to your env0 organization.
Steps
- Login to your AWS Account and navigate to the AWS SSO service.
- Click on the Applications tabs on the left-hand side menu.
- Click on the
Add a new application
button. - Select
I have an application I want to set up
. - Select the
SAML 2.0
- Enter the
Display name
andDescription
- Configure the
User and group assignment method
section - In the
AWS access portal
set theApplication URL
to behttps://app.env0.com/login/sso
- Click on the
Next
button - In the
IAM Identity Center metadata
section download theIAM Identity Center Certificate
and copy theIAM Identity Center sign-in URL
- In the
Application properties
set theApplication start URL
tohttps://app.env0.com/login/sso
- Set the desired
Session duration
- In the
Application metadata
section click on theIf you don't have a metadata file, you can manually type your metadata values
link - In the
Application metadata
section, underApplication ACS URL
enter the followinghttps://login.app.env0.com/login/callback?connection={YOUR_ENV0_ORG_ID}
- In the
Application SAML audience
enterurn:auth0:env0:{YOUR_ENV0_ORG_ID}
- Click on the
Submit
button - In the Action Dropdown select
Edit Attribute mappings
- Add the following attributes:
Name | Value | Format | Mandatory |
---|---|---|---|
Subject | ${user:subject} | persistent | Yes |
name | ${user:name} | basic | Yes |
lastName | ${user:familyName} | basic | Yes |
firstName | ${user:givenName} | basic | Yes |
groups | ${user:groups} | unspecified | No |
${user:subject} | unspecified | Yes |
Groups Mapping with AWS SSO
The
groups
attribute in AWS SSO currently supports the UUID of the groups and not the actual name of the group.This means that if you set the
groups
attribute we will sync the groups based on their UUID.
- Click on
Assigned users
button and assign the relevant users and groups to the application - Please submit the
AWS SSO sign-in URL
and theAWS SSO Certificate
to https://www.env0.com/env0-setup-saml-single-sign-on
Updated 7 months ago