Skip to main content

KMS Key Policy

The KMS Key Policy is a crucial component of AWS Key Management Service (KMS) that defines permissions on KMS keys. These policies allow you to control access to your keys, specifying which users and roles can perform operations like decrypting data or creating new keys. For more information, please refer to the official AWS KMS documentation.

Terraform Mappings:

  • aws_kms_key_policy.key_id

Supported Methods​

  • GET: Get a KMS key policy by its Key ID
  • LIST
  • SEARCH: Search KMS key policies by Key ID

kms-key​

The KMS Key Policy is directly related to the KMS Key resource as it specifies the permissions and operations allowed on the KMS Key. The policy serves as a gatekeeper, managing who can use the KMS Key and what actions they can perform, thereby ensuring the security and compliance of your cloud resources.