Gets a list of all grants for the specified customer master key (CMK).
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 AWS
service, the GranteePrincipal
field contains the service principal,
which might represent several different grantee principals.
Cross-account use: Yes. To perform this operation on a CMK in a
different AWS account, specify the key ARN in the value of the KeyId
parameter.
Required permissions:
kms:ListGrants
(key policy)
Related operations:
CreateGrant
ListRetirableGrants
RetireGrant
RevokeGrant