With an identification supplier (IdP), you may handle your person identities outdoors of AWS and provides these exterior person identities permissions to make use of AWS assets in your AWS accounts. Exterior IdPs, reminiscent of Ping Id, can combine with AWS IAM Id Heart to be the supply of reality for Amazon SageMaker Unified Studio. SageMaker Unified Studio additionally helps trusted identification propagation for SQL analytics, together with Amazon Athena and Amazon Redshift.
SageMaker Unified Studio offers an built-in expertise to make use of your information and instruments for analytics and AI. You need to use SageMaker Unified Studio to find your information and put it to work utilizing acquainted AWS analytics and machine studying (ML) companies for mannequin growth, generative AI, huge information processing, and SQL analytics, assisted by Amazon Q Developer. By default, SageMaker domains assist AWS Id and Entry Administration (IAM) person credentials. You can too allow entry to SageMaker domains in SageMaker Unified Studio for customers with single sign-on (SSO) with IAM Id Heart and direct SAML integration with SageMaker Unified Studio.
Customers can entry SageMaker Unified Studio with their current company credentials. With IAM Id Heart, directors can join their current exterior IdPs and proceed to handle customers and teams in these current identification methods, which might then be synchronized with IAM Id Heart utilizing System for Cross-domain Id Administration (SCIM).On this submit, we present find out how to arrange workforce entry with SageMaker Unified Studio utilizing Ping Id as an exterior IdP with IAM Id Heart.
On this submit, we present find out how to arrange workforce entry with SageMaker Unified Studio utilizing Ping Id as an exterior IdP with IAM Id Heart.
Answer overview
We stroll via the next high-level steps to implement this resolution:
- Allow IAM Id Heart.
- Create a SageMaker Unified Studio area.
- Arrange your IdP (for this instance, Ping Id).
- Join Ping Id and IAM Id Heart.
- Arrange computerized provisioning of customers and teams in IAM Id Heart.
- Configure SageMaker Unified Studio SSO person entry.
Stipulations
For this walkthrough, you must have the next stipulations:
- An AWS account with IAM Id Heart enabled. It’s endorsed to make use of an organization-level IAM Id Heart occasion for finest practices and centralized identification administration throughout your AWS group.
- A Ping Id account.
- A browser with community connectivity to Ping Id and SageMaker Unified Studio.
Allow IAM Id Heart
To allow IAM Id Heart, comply with the directions in Allow IAM Id Heart.
Create a SageMaker Unified Studio area
To create a SageMaker Unified Studio area, check with the directions in Create a Amazon SageMaker Unified Studio area – guide setup.
On the SageMaker console, go to the area particulars and duplicate the Amazon Useful resource Identify (ARN) beneath Area ARN. You’ll use this worth while you add your belief coverage and while you join your IAM IdP to your Ping Id occasion.
Arrange your IdP (Ping Id)
On this part, we stroll via the process to arrange your IdP (for this instance, Ping Id).
Create an setting in Ping Id
Full the next steps to create an setting for Ping Id:
- Log in to your Ping Id account.
- Select Create Atmosphere.
- Select Create a Buyer Answer.
- Within the Tailor your experiences pop-up, select Skip.

Create a bunch in Ping Id
Full the next steps to create a group in Ping Id:
- On the Environments web page, select Handle Environments.
- Within the navigation pane, select Listing, then select Teams.
- Select the plus signal so as to add a bunch.
- For Group Identify, enter
sagemaker - For Description, enter an optionally available description (for instance,
Amazon SageMaker Unified Studio). - For Inhabitants, select Default.
- Select Save.

- On the Roles tab for the
sagemakergroup, assign the Atmosphere Admin function to the group.

Create a person in Ping Id
Full the next steps to create a person:
- Within the navigation pane, select Listing, then select Customers.
- Select the plus signal to create a person.
- Present values for Given identify, Household identify, Username, and Electronic mail.
- For Password, select First time password.
- Select Save.
You possibly can add extra customers as wanted.
Assign group to person
Full the next steps to assign your group to your person:
- Within the navigation pane, select Listing, then select Teams.
- Select the
sagemakergroup you created. - On the Customers tab, select the plus signal so as to add a person.
- Add the person you created.
Join Ping Id and IAM Id Heart
To configure the combination between Ping Id and IAM Id Heart, you want entry to each administration consoles. Though Ping Id’s utility catalog contains IAM Id Heart, we suggest configuring a regular SAML utility for larger management over settings and attribute mappings.
Full the next steps:
- Go to the Ping Id setting you created and select Functions within the navigation pane.
- Select the plus signal so as to add an utility:
- For Utility identify, enter a reputation (for this instance, we use
unifiedstudio). - For Description, enter an optionally available description.
- For Utility Sort, select SAML Utility.
- Select Configure.

- For Utility identify, enter a reputation (for this instance, we use
- Sign up to the IAM Id Heart console as a person with administrative privileges.
- Within the navigation pane, select Settings to replace your settings:
- On the Id supply tab, select Change identification supply on the Actions dropdown menu.

- For Select identification supply, choose Exterior identification supplier, then select Subsequent.

- Within the Service supplier metadata part, select Obtain metadata file to obtain the IAM Id Heart metadata file.
You’ll use this service supplier metadata file within the subsequent step while you join Ping Id with IAM Id Heart.

- On the Id supply tab, select Change identification supply on the Actions dropdown menu.
- Return to the Ping Id console and the SAML utility web page.
- Within the SAML Configuration part, choose Import Metadata, add the metadata file you downloaded, then select Save.

- On the Overview tab of the appliance web page, select Obtain Metadata beneath Connection particulars to obtain the Ping Id IdP metadata.
You’ll use this for the SAML configuration in IAM Id Heart to arrange Ping Id as an IdP within the subsequent step.
- Return to the IAM Id Heart console and proceed configuring your identification supply:
- Within the Id supplier metadata part, select Select file beneath IdP SAML metadata, add the metadata file you downloaded from Ping Id, then select Subsequent.

- Select Settle for to simply accept the disclaimer.
- Select Change identification supply.
- Within the Id supplier metadata part, select Select file beneath IdP SAML metadata, add the metadata file you downloaded from Ping Id, then select Subsequent.
- Return to the Ping Id console to finish the SAML configuration.
- On the Configuration tab, select the edit icon to replace the configuration:
- For Signal, select Signal Assertion & Response.
- For Topic Identify ID, enter
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress. - For Assertion Validity Period, enter
300. - Go away the remaining values as default.

- On the Attributes tab, select the edit icon.
- Select +Add so as to add two attribute mappings:
- Map the attribute
saml-subjecttoUsername, and depart Identify format as default. - Map the attribute
https://aws.amazon.com/SAML/Attributes/PrincipalTag:Electronic mailtoElectronic mail Handle,and set Identify format to Unspecified. - Select Save.

- Map the attribute
- On the PingOne Insurance policies tab, choose Single Issue, then select Save.
This submit makes use of single-factor authentication for demonstration functions solely. In your environments, comply with your group’s safety requirements and governance framework.
- On the Entry tab, seek for the
sagemakergroup beneath Group Membership Coverage, and assign theunifiedstudioSAML utility to the group. - Allow the appliance.

Arrange computerized provisioning of customers and teams from Ping Id into IAM Id Heart
To configure the automated provisioning of customers and teams between Ping Id and IAM Id Heart via SCIM, you should have entry to each administration consoles. Full the next steps:
- On the IAM Id Heart console, select Settings within the navigation pane.
- Within the Automated provisioning part, select Allow.
This allows computerized provisioning in IAM Id Heart and shows the mandatory SCIM endpoint and entry token data.
- Within the Inbound computerized provisioning dialog field, copy the values for SCIM endpoint and Entry token, then select Shut.
You’ll use these values to configure provisioning in Ping Id within the subsequent step.
This completes the setup course of in IAM Id Heart.
- Log in to the Ping Id console.
- Within the navigation pane, select Integrations, then select Provisioning.
- Select the plus signal so as to add a brand new connection.

- For Select a connection kind, select Choose subsequent to Id Retailer.

- Present a reputation (for this instance, we use
Identitycenter) and an optionally available description, then select Subsequent.

- Below Configuration Authentication, present the next configuration:
- For SCIM BASE URL, enter the SCIM endpoint from IAM Id Heart.
- For Authentication Methodology, select OAuth 2 Bearer Token.
- For Oauth Entry Token, enter the entry token from IAM Id Heart.
- For Auth Sort Header, select Bearer (default possibility).
- Select Take a look at Connection to validate the connection between Ping Id and IAM Id Heart, then select Subsequent.

- Below Configuration Choice, present the next configuration:
- For Consumer Filter Expression, enter
userName Eq “%s”. - For Group Membership Dealing with, choose Merge.
- Go away the remaining settings as default and select Save.

- For Consumer Filter Expression, enter
- On the Provisioning tab, select the plus signal, then select New Rule to create a rule for the SCIM connection.

- Enter a reputation (for this instance,
unifiedstudio) and an optionally available description, then select Create Rule. - Below the newly created rule, select the plus signal subsequent to Obtainable Connections so as to add the connection
identitycenter, then select Save. - Edit the person filter:
- For Attribute, select Enabled.
- For Operator, select Equals.
- For Worth, select true.
- Select Save.

- Select the edit icon subsequent to Attribute Mapping and set the attribute mappings as proven within the following screenshot:
- Delete the Major Telephone attribute mapping as a result of it’s optionally available in AWS. Leaving this area clean could cause Ping Id’s SCIM connector to generate errors throughout person provisioning.
- Add a brand new attribute known as
Usernamebeneath PingOne Listing after which map todisplayNamebeneath Identitycenter.

- Below Group Provisioning, select the
sagemakergroup if you wish to sync allsagemakergroup customers with auto provisioning.- Within the pop-up, choose I perceive and wish to proceed, then select Save.


- On the Provisioning web page, select the Connections tab.
- Allow the SCIM connection
Identitycenterand ruleunifiedstudio.

This completes the SCIM setup course of between Ping Id and IAM Id Heart.
Configure SageMaker Unified Studio SSO person entry
Full the next steps to configure SSO person entry to SageMaker Unified Studio to your SageMaker area:
- On the SageMaker console, select Domains within the navigation pane.
- Select the area for which you wish to configure SAML person entry.
- On the area particulars web page, you will discover the SSO configuration in two places:
- From the principle area view, select Configure subsequent to Configure SSO person entry.
- Alternatively, scroll right down to the Consumer administration tab and select Configure SSO person entry.

- On the Select person authentication methodology web page, choose IAM Id Heart, then select Subsequent.

- For Select person and group project methodology, select from the next choices, then select Subsequent:
- Require assignments: Customers and teams have to be explicitly added to the area to achieve entry. This offers extra granular management over who can entry the area.
- Don’t require assignments: All licensed Ping Id customers and teams can entry this area if they’ve been assigned to the SAML utility in Ping Id.
For both possibility, customers or teams should have entry to the Ping Id SAML utility (
unifiedstudioon this instance) to authenticate efficiently.
- On the Evaluation and save web page, evaluate your decisions and select Save. These settings can’t be modified after you save them.

- When you’ve chosen to require assignments, use the Add customers and teams part so as to add SAML customers and teams to your area.

Now, customers will be capable of entry SageMaker Unified Studio utilizing the area URL with their SSO credentials.
You possibly can discover completely different initiatives to your customers and assign these initiatives primarily based in your IdP person teams for fine-grained entry controls. For instance, you may create completely different SAML person teams primarily based on their job perform in Ping Id, then assign these Ping Id teams to the unifiedstudio SAML utility in Ping Id, after which assign these Ping Id SAML teams to their respective undertaking profiles in SageMaker Unified Studio. To assign undertaking profiles for his or her respective teams, select the Challenge profiles tab and select your undertaking profile. On the Licensed customers and teams web page, select Add, then select SSO teams. Select Add customers and teams button to finish the undertaking profile project.

Validate entry with Ping Id customers
Full the next steps to validate entry:
- On the SageMaker area particulars web page, select the hyperlink for the SageMaker Unified Studio URL.

- Log in along with your person credentials.
After profitable login, you’ll be redirected to the SageMaker Unified Studio house web page. Right here, you may discover completely different initiatives to your customers and assign these initiatives primarily based in your SAML person teams for fine-grained entry management.
- To assign an authorization coverage, these Govern after which Area models.
- Select your SageMaker area, then select an appropriate authorization coverage. For this instance, we select Challenge creation coverage.

- Select Add coverage grant to assign person teams or customers to their respective undertaking profiles.

You could have efficiently federated SageMaker Unified Studio with Ping Id as an IdP with IAM Id Heart. You possibly can hook up with SageMaker Unified Studio through the use of your Ping Id credentials.
Clear up
After you take a look at out this resolution, bear in mind to delete the assets you created to keep away from incurring future expenses. For directions to delete your SageMaker Unified Studio area, check with Delete domains. If you wish to delete your Ping Id account, attain out to Ping Id for help.
Conclusion
On this submit, we demonstrated find out how to arrange Ping Id as an IdP over SAML authentication for SageMaker Unified Studio entry via IAM Id Heart federation. To be taught extra, check with the Amazon SageMaker Unified Studio Consumer Information, which offers steerage on find out how to construct information and AI purposes utilizing SageMaker.
Concerning the authors
