Associate or disassociate your IAM Identity Center instance
Most customers don't need to associate an AWS IAM Identity Center instance with their S3 Access Grants instance. New IAM Identity Center instances use the simplified experience for trusted identity propagation, so they work with S3 Access Grants without any extra setup. With the simplified experience, IAM Identity Center adds the user's identity to each AWS session. Users who sign in through IAM federation don't need an association either. If you have an existing IAM Identity Center instance that isn't opted in yet, associate it with your S3 Access Grants instance until you opt in. For more information, see S3 Access Grants and corporate directory identities.
If your IAM Identity Center instance is opted in to the simplified experience for trusted identity propagation, you can disassociate it from your S3 Access Grants instance. Your existing grants that use IAM Identity Center user and group IDs continue to match. Application-scoped grants stop matching after the instance is opted in to the simplified experience. Before you disassociate, confirm that your users can still access their data.
You can associate an IAM Identity Center instance by using the AWS Command Line Interface (AWS CLI), the Amazon S3 REST API, and the AWS SDKs. You can disassociate an IAM Identity Center instance by using the Amazon S3 console, the AWS CLI, the Amazon S3 REST API, and the AWS SDKs.
In the Amazon S3 console, you can disassociate an IAM Identity Center instance. To associate an IAM Identity Center instance, use the AWS CLI, the Amazon S3 REST API, or the AWS SDKs.
To disassociate an IAM Identity Center instance from an S3 Access Grants instance
Sign in to the AWS Management Console and open the Amazon S3 console at https://eusc-de-east-1.console.amazonaws-eusc.eu/s3/
. -
In the left navigation pane, choose Access Grants.
-
On the S3 Access Grants page, choose the Region that contains the S3 Access Grants instance that you want to work with.
-
Choose View details for the instance.
-
On the details page, in the IAM Identity Center section, choose Deregister. This section appears only if an IAM Identity Center instance is associated with your S3 Access Grants instance.
ImportantAfter you deregister an IAM Identity Center instance, its users and groups lose access to S3 data through your grants, unless the instance is opted in to the simplified experience for trusted identity propagation.
-
Your grants aren't deleted, and grants for IAM users and roles aren't affected.
-
Application-scoped grants stop giving access, even if the instance is opted in. To keep access for those users, create grants without an application ARN.
-
After you deregister, you can't register an instance again in the Amazon S3 console.
-
Before you deregister, confirm that the instance is opted in to the simplified experience so that your users keep access to data.
Learn more about the simplified experience for trusted identity propagation.
-
To install the AWS CLI, see Installing the AWS CLI in the AWS Command Line Interface User Guide.
To use the following example command, replace the with your own information.user input
placeholders
Example– Associate an IAM Identity Center instance with an S3 Access Grants instance
aws s3control associate-access-grants-identity-center \ --account-id111122223333\ --identity-center-arn arn:aws-eusc:sso:::instance/ssoins-1234a567bb89012c\ --profileaccess-grants-profile\ --regioneu-central-1// No response body
Example– Disassociate an IAM Identity Center instance from an S3 Access Grants instance
aws s3control dissociate-access-grants-identity-center \ --account-id111122223333\ --profileaccess-grants-profile\ --regioneu-central-1// No response body
For information about the Amazon S3 REST API support for managing the association between an IAM Identity Center instance and an S3 Access Grants instance, see the following sections in the Amazon Simple Storage Service API Reference: