AWS KMS integration
AWS Key Management Service API for creating and managing cryptographic keys. Encrypt and decrypt data, generate data keys, manage key policies, rotate keys, and integrate envelope encryption with AWS services.
Common AWS KMS use cases
- automate key management
- automate alias management
- automate operation management
- automate grant management
- automate resource management
- automate key deletion management
- automate key rotation management
- set key access policy
- list key programmatically
- retrieve key access policy
What you can do with AWS KMS
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Key, 5 operations
- POSTcreate_key
Creates a unique customer managed KMS key in your AWS account and Region. You can use the key to encrypt and decrypt data, generate data keys, create aliases, and more.
- POSTdescribe_key
Provides detailed information about a KMS key including its creation date, key state, key spec, key usage, and key policy.
- POSTdisable_key
Sets the key state of a KMS key to disabled. This prevents the KMS key from being used in cryptographic operations.
- POSTenable_key
Sets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations.
- POSTlist_keys
Gets a list of all KMS keys in the caller's AWS account and Region.
Alias, 4 operations
- POSTcreate_alias
Creates a friendly name for a KMS key. Aliases must begin with alias/ followed by a name. They cannot begin with alias/aws/.
- POSTdelete_alias
Deletes the specified alias. Deleting an alias does not delete the underlying KMS key.
- POSTlist_aliases
Gets a list of aliases in the caller's AWS account and Region. You can filter by KMS key or list all aliases.
- POSTupdate_alias
Associates an existing AWS KMS alias with a different KMS key. Each alias is associated with only one KMS key at a time.
Operation, 4 operations
- POSTdecrypt
Decrypts ciphertext that was encrypted by a KMS key using any of the following operations: Encrypt, GenerateDataKey, GenerateDataKeyPair, or GenerateDataKeyWithoutPlaintext.
- POSTencrypt
Encrypts plaintext of up to 4096 bytes using a KMS key. You can use a symmetric or asymmetric KMS key with a KeyUsage of ENCRYPT_DECRYPT.
- POSTsign
Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key.
- POSTverify
Verifies a digital signature that was generated by the Sign operation. Returns a Boolean value that indicates whether the signature is valid.
Grant, 3 operations
- POSTcreate_grant
Adds a grant to a KMS key. A grant is a policy instrument that allows AWS principals to use KMS keys in cryptographic operations.
- POSTlist_grants
Gets a list of all grants for the specified KMS key. You can filter the list by grant ID or grantee principal.
- POSTrevoke_grant
Deletes the specified grant. You can revoke a grant to actively deny operations that depend on it.
Key deletion, 2 operations
- POSTcancel_key_deletion
Cancels the deletion of a KMS key. When this operation succeeds, the key state is Disabled.
- POSTschedule_key_deletion
Schedules the deletion of a KMS key. By default the key is deleted after 30 days, but you can specify a waiting period of 7-30 days.
Key policy, 2 operations
- POSTget_key_policy
Gets a key policy attached to the specified KMS key, returning the policy document in JSON format.
- POSTput_key_policy
Attaches or replaces a key policy on a KMS key to control access permissions.
Key rotation, 2 operations
- POSTdisable_key_rotation
Disables automatic rotation of the key material of the specified symmetric encryption KMS key.
- POSTenable_key_rotation
Enables automatic rotation of the key material of the specified symmetric encryption KMS key. AWS KMS rotates the key material every year.
Mac, 2 operations
- POSTgenerate_mac
Generates an HMAC for a message using an HMAC KMS key. The resulting MAC can be verified with VerifyMac to prove message integrity.
- POSTverify_mac
Verifies an HMAC for a message using an HMAC KMS key. Returns a Boolean indicating whether the HMAC is valid.
Resource, 2 operations
- POSTtag_resource
Adds or edits tags on a customer managed key. Tags are optional key-value pairs that can help you track the usage or purpose of a KMS key.
- POSTuntag_resource
Deletes tags from a customer managed key. To delete a tag, specify the tag key and the KMS key.
Data key pair, 1 operation
- POSTgenerate_data_key_pair_without_plaintext
Returns a unique asymmetric data key pair for use outside of AWS KMS, returning a plaintext public key and an encrypted private key without the plaintext private key.
Generate data key, 1 operation
- POSTgenerate_data_key
Returns a unique symmetric data key for use outside of AWS KMS. This operation returns a plaintext copy and an encrypted copy of the data key.
Generate data key pair, 1 operation
- POSTgenerate_data_key_pair
Returns a unique asymmetric data key pair for use outside of AWS KMS. Returns both plaintext and encrypted private key plus the public key.
Generate data key without plaintext, 1 operation
- POSTgenerate_data_key_without_plaintext
Returns a unique symmetric data key in encrypted form. Unlike GenerateDataKey, this operation returns only the encrypted copy of the data key.
Generate random, 1 operation
- POSTgenerate_random
Returns a random byte string that is cryptographically secure. By default, the random byte string is generated in AWS KMS.
Key description, 1 operation
- POSTupdate_key_description
Updates the description of a KMS key. To see the description of a KMS key, use DescribeKey.
Key rotation status, 1 operation
- POSTget_key_rotation_status
Gets a Boolean value that indicates whether automatic rotation of the key material is enabled for the specified KMS key.
Public key, 1 operation
- POSTget_public_key
Returns the public key of an asymmetric KMS key for use outside of AWS KMS in encryption, signature verification, or key agreement.
Re encrypt, 1 operation
- POSTre_encrypt
Decrypts ciphertext and then re-encrypts it entirely within AWS KMS. You can use this operation to change the KMS key under which data is encrypted.
Use AWS KMS from Claude Code, Cursor or Codex
Connect AWS KMS in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its AWS KMS operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect AWS KMS
Create your workspace
Sign up free. Nothing to install.
Connect AWS KMS once
Add your AWS KMS connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
AWS KMS integration FAQ
- What can you do with the AWS KMS integration?
- LiveContext exposes 35 operations on AWS KMS, covering key, alias, operation and grant. Common uses include automate key management, automate alias management and automate operation management.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…