View a markdown version of this page

Actions, resources, and condition keys for AWS Key Management Service - Service Authorization Reference

Actions, resources, and condition keys for AWS Key Management Service

AWS Key Management Service (service prefix: kms) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS Key Management Service

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

CancelKeyDeletion

kms:CancelKeyDeletion

Write

ConnectCustomKeyStore

kms:ConnectCustomKeyStore

Write

CreateAlias

kms:CreateAlias

Write

CreateCustomKeyStore

kms:CreateCustomKeyStore

Write

CreateGrant

kms:CreateGrant

Permissions management, Write

CreateKey

kms:CreateKey

Write

kms:PutKeyPolicy

Permissions management, Write

kms:TagResource

Tagging, Write

Decrypt

kms:Decrypt

Write

DeleteAlias

kms:DeleteAlias

Write

DeleteCustomKeyStore

kms:DeleteCustomKeyStore

Write

DeleteImportedKeyMaterial

kms:DeleteImportedKeyMaterial

Write

DeriveSharedSecret

kms:DeriveSharedSecret

Write

DescribeCustomKeyStores

kms:DescribeCustomKeyStores

Read

DescribeKey

kms:DescribeKey

Read

DisableKey

kms:DisableKey

Write

DisableKeyRotation

kms:DisableKeyRotation

Write

DisconnectCustomKeyStore

kms:DisconnectCustomKeyStore

Write

EnableKey

kms:EnableKey

Write

EnableKeyRotation

kms:EnableKeyRotation

Write

Encrypt

kms:Encrypt

Write

GenerateDataKey

kms:GenerateDataKey

Write

GenerateDataKeyPair

kms:GenerateDataKeyPair

Write

GenerateDataKeyPairWithoutPlaintext

kms:GenerateDataKeyPairWithoutPlaintext

Write

GenerateDataKeyWithoutPlaintext

kms:GenerateDataKeyWithoutPlaintext

Write

GenerateMac

kms:GenerateMac

Write

GenerateRandom

kms:GenerateRandom

Write

GetKeyLastUsage

kms:GetKeyLastUsage

Read

GetKeyPolicy

kms:GetKeyPolicy

Read

GetKeyRotationStatus

kms:GetKeyRotationStatus

Read

GetParametersForImport

kms:GetParametersForImport

Read