There are more AWS SDK examples available in the AWS Doc SDK Examples
Basic examples for AWS KMS using AWS SDKs
The following code examples show how to use the basics of AWS Key Management Service with AWS SDKs.
Examples
- Hello AWS KMS
- Learn the basics
- Actions
- 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