Actions for AWS KMS using AWS SDKs
The following code examples demonstrate how to perform individual AWS KMS actions with AWS SDKs. Each example includes a link to GitHub, where you can find instructions for setting up and running the code.
The following examples include only the most commonly used actions. For a complete list, see the AWS Key Management Service API Reference.
Examples
- CreateAlias
- CreateGrant
- CreateKey
- Decrypt
- DeleteAlias
- DescribeKey
- DisableKey
- EnableKey
- EnableKeyRotation
- Encrypt
- GenerateDataKey
- GenerateDataKeyWithoutPlaintext
- GenerateRandom
- GetKeyPolicy
- ListAliases
- ListGrants
- ListKeyPolicies
- ListKeys
- PutKeyPolicy
- ReEncrypt
- RetireGrant
- RevokeGrant
- ScheduleKeyDeletion
- Sign
- TagResource
- UpdateAlias
- Verify