Add groups and users
The following sections show how to add groups and users to a domain from the SageMaker AI console or AWS CLI.
Note
If the domain was created before October 1st, 2023, you can only add groups and users to the domain from the SageMaker AI console.
SageMaker AI console
Complete the following procedure to add groups and users to your domain from the SageMaker AI console.
-
On the Groups tab, choose Assign users and groups.
-
On the Assign users and groups page, select the users and groups that you want to add.
-
Choose Assign users and groups.
AWS CLI
Complete the following procedure to add groups and users to your domain from the AWS CLI.
-
Fetch the
SingleSignOnApplicationArn
of the domain with a call to describe-domain. SingleSignOnApplicationArn
is the ARN of the application managed in IAM Identity Center.aws sagemaker describe-domain \ --region
region
\ --domain-iddomain-id
-
Associate the user or group with the domain. To accomplish this, pass the
SingleSignOnApplicationArn
value returned from the describe-domaincommand as the application-arn
parameter in a call to create-application-assignment.You must also pass the type and ID of the entity to associate. aws sso-admin create-application-assignment \ --application-arn
application-arn
\ --principal-idprincipal-id
\ --principal-typeprincipal-type