Grant Args
Provides a resource-based access control mechanism for a KMS customer master key.
Import
Using pulumi import
, import KMS Grants using the Key ID and Grant ID separated by a colon (:
). For example:
$ pulumi import aws:kms/grant:Grant test 1234abcd-12ab-34cd-56ef-1234567890ab:abcde1237f76e4ba7987489ac329fbfba6ad343d6f7075dbd1ef191f0120514
Constructors
Functions
Properties
A structure that you can use to allow certain operations in the grant only when the desired encryption context is present. For more information about encryption context, see Encryption Context.
A list of grant tokens to be used when creating the grant. See Grant Tokens for more information about grant tokens.
If set to false (the default) the grants will be revoked upon deletion, and if set to true the grants will try to be retired upon deletion. Note that retiring grants requires special permissions, hence why we default to revoking grants. See RetireGrant for more information.