S3Control / Client / associate_access_grants_identity_center
associate_access_grants_identity_center#
- S3Control.Client.associate_access_grants_identity_center(**kwargs)#
Associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance. Use this action if you want to create access grants for users or groups from your corporate identity directory. First, you must add your corporate identity directory to Amazon Web Services IAM Identity Center. Then, you can associate this IAM Identity Center instance with your S3 Access Grants instance.
Permissions
You must have the
s3:AssociateAccessGrantsIdentityCenter
permission to use this operation.Additional Permissions
You must also have the following permissions:
sso:CreateApplication
,sso:PutApplicationGrant
, andsso:PutApplicationAuthenticationMethod
.See also: AWS API Documentation
Request Syntax
response = client.associate_access_grants_identity_center( AccountId='string', IdentityCenterArn='string' )
- Parameters:
AccountId (string) –
[REQUIRED]
The Amazon Web Services account ID of the S3 Access Grants instance.
IdentityCenterArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.
- Returns:
None