Associate or disassociate your IAM Identity Center instance - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Associate or disassociate your IAM Identity Center instance

In Amazon S3 Access Grants, you can associate the Amazon IAM Identity Center instance of your corporate identity directory with an S3 Access Grants instance. After you do so, you can create access grants for your corporate directory users and groups, in addition to Amazon Identity and Access Management (IAM) users and roles.

If you no longer want to create access grants for your corporate directory users and groups, you can disassociate your IAM Identity Center instance from your S3 Access Grants instance.

You can associate or disassociate an IAM Identity Center instance by using the Amazon S3 console, the Amazon Command Line Interface (Amazon CLI), the Amazon S3 REST API, and the Amazon SDKs.

Before you associate your IAM Identity Center instance with your S3 Access Grants instance, you must add your corporate identity directory to IAM Identity Center. For more information, see S3 Access Grants and corporate directory identities.

To associate an IAM Identity Center instance with an S3 Access Grants instance
  1. Sign in to the Amazon Web Services Management Console and open the Amazon S3 console at https://console.amazonaws.cn/s3/.

  2. In the left navigation pane, choose Access Grants.

  3. On the S3 Access Grants page, choose the Region that contains the S3 Access Grants instance that you want to work with.

  4. Choose View details for the instance.

  5. On the details page, in the IAM Identity Center section, choose to either Add an IAM Identity Center instance or Deregister an already associated IAM Identity Center instance.

To install the Amazon CLI, see Installing the Amazon CLI in the Amazon Command Line Interface User Guide.

To use the following example command, replace the user input placeholders with your own information.

Example – Associate an IAM Identity Center instance with an S3 Access Grants instance
aws s3control associate-access-grants-identity-center \ --account-id 111122223333 \ --identity-center-arn arn:aws-cn:sso:::instance/ssoins-1234a567bb89012c \ --profile access-grants-profile \ --region eu-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-id 111122223333 \ --profile access-grants-profile \ --region eu-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: