kms:ListKeyPolicies

List

kms:ListKeyPolicies is a List access-level action in the kms service. Controls permission to view the names of key policies for an AWS KMS key

Resource types

ARNs that kms:ListKeyPolicies can be scoped to in an IAM policy.

arn:${Partition}:kms:${Region}:${Account}:key/${KeyId}
key

Condition keys

Keys you can use in the Condition block of a policy that grants kms:ListKeyPolicies.

kms:KeyOrigin String

Filters access to an API operation based on the Origin property of the AWS KMS key created by or used in the operation. Use it to qualify authorization of the CreateKey operation or any operation that is authorized for a KMS key

kms:KeySpec String

Filters access to an API operation based on the KeySpec property of the AWS KMS key that is created by or used in the operation. Use it to qualify authorization of the CreateKey operation or any operation that is authorized for a KMS key resource

kms:KeyUsage String

Filters access to an API operation based on the KeyUsage property of the AWS KMS key created by or used in the operation. Use it to qualify authorization of the CreateKey operation or any operation that is authorized for a KMS key resource

kms:MultiRegion Bool

Filters access to an API operation based on the MultiRegion property of the AWS KMS key created by or used in the operation. Use it to qualify authorization of the CreateKey operation or any operation that is authorized for a KMS key resource

kms:MultiRegionKeyType String

Filters access to an API operation based on the MultiRegionKeyType property of the AWS KMS key created by or used in the operation. Use it to qualify authorization of the CreateKey operation or any operation that is authorized for a KMS key resource

aws:ResourceTag/${TagKey} String

Filters access to the specified AWS KMS operations based on tags assigned to the AWS KMS key

kms:ResourceAliases ArrayOfString

Filters access to specified AWS KMS operations based on aliases associated with the AWS KMS key

Example IAM policy

A minimal policy that allows kms:ListKeyPolicies. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowKmsListKeyPolicies",
      "Effect": "Allow",
      "Action": "kms:ListKeyPolicies",
      "Resource": "*"
    }
  ]
}

Related actions in kms

View all kms actions →