View a markdown version of this page

Working with grants in S3 Access Grants - Amazon Simple Storage Service

Working with grants in S3 Access Grants

An individual access grant in an S3 Access Grants instance allows a specific identity—an AWS Identity and Access Management (IAM) principal, or a user or group in a corporate directory—to get access within a location that is registered in your S3 Access Grants instance. A location maps buckets or prefixes to an IAM role. S3 Access Grants assumes this IAM role to vend temporary credentials to grantees.

After you register at least one location in your S3 Access Grants instance, you can create an access grant.

The grantee can be an IAM user or role, a directory user or group, or an attribute. A directory user or group comes from your corporate directory. Your users can sign in through AWS IAM Identity Center or through IAM federation with your external identity provider. For a directory user or group, you can enter either the name that your identity provider sends, for example, the user ID 00u1a2b3c4EXAMPLE, or the ID that IAM Identity Center uses, for example, a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. For more information, see S3 Access Grants and corporate directory identities and Create grants.

You can grant access to a bucket, a prefix, or an object. A prefix in Amazon S3 is a string of characters in the beginning of an object key name that is used to organize objects within a bucket. This can be any string of allowed characters, for example, object key names in your bucket that start with the engineering/ prefix.