Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Interface GrantListEntry

Contains information about a grant.


  • GrantListEntry


Constraints?: GrantConstraints

A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.

CreationDate?: Date

The date and time when the grant was created.

GrantId?: string

The unique identifier for the grant.

GranteePrincipal?: string

The identity that gets the permissions in the grant.

The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an Amazon Web Services service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

IssuingAccount?: string

The Amazon Web Services account under which the grant was issued.

KeyId?: string

The unique identifier for the KMS key to which the grant applies.

Name?: string

The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null.

Operations?: string[]

The list of operations permitted by the grant.

RetiringPrincipal?: string

The principal that can retire the grant.