Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in AWS KMS.Built from the 35 AWS KMS tools below, on the connection you add once.

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.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Key, 5 operations

  • create_keyCreate keyPOSTAgents: ask firstCreates 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.
  • describe_keyDescribe keyPOSTAgents: ask firstProvides detailed information about a KMS key including its creation date, key state, key spec, key usage, and key policy.
  • disable_keyDisable keyPOSTAgents: ask firstSets the key state of a KMS key to disabled. This prevents the KMS key from being used in cryptographic operations.
  • enable_keyEnable keyPOSTAgents: ask firstSets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations.
  • list_keysList keysPOSTAgents: ask firstGets a list of all KMS keys in the caller's AWS account and Region.

Alias, 4 operations

  • create_aliasCreate aliasPOSTAgents: ask firstCreates a friendly name for a KMS key. Aliases must begin with alias/ followed by a name. They cannot begin with alias/aws/.
  • delete_aliasDelete aliasPOSTAgents: ask firstDeletes the specified alias. Deleting an alias does not delete the underlying KMS key.
  • list_aliasesList aliasesPOSTAgents: ask firstGets a list of aliases in the caller's AWS account and Region. You can filter by KMS key or list all aliases.
  • update_aliasUpdate aliasPOSTAgents: ask firstAssociates 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

  • decryptDecryptPOSTAgents: ask firstDecrypts ciphertext that was encrypted by a KMS key using any of the following operations: Encrypt, GenerateDataKey, GenerateDataKeyPair, or GenerateDataKeyWithoutPlaintext.
  • encryptEncryptPOSTAgents: ask firstEncrypts 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.
  • signSignPOSTAgents: ask firstCreates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key.
  • verifyVerifyPOSTAgents: ask firstVerifies a digital signature that was generated by the Sign operation. Returns a Boolean value that indicates whether the signature is valid.

Grant, 3 operations

  • create_grantCreate grantPOSTAgents: ask firstAdds a grant to a KMS key. A grant is a policy instrument that allows AWS principals to use KMS keys in cryptographic operations.
  • list_grantsList grantsPOSTAgents: ask firstGets a list of all grants for the specified KMS key. You can filter the list by grant ID or grantee principal.
  • revoke_grantRevoke grantPOSTAgents: ask firstDeletes the specified grant. You can revoke a grant to actively deny operations that depend on it.

Key deletion, 2 operations

  • cancel_key_deletionCancel key deletionPOSTAgents: ask firstCancels the deletion of a KMS key. When this operation succeeds, the key state is Disabled.
  • schedule_key_deletionSchedule key deletionPOSTAgents: ask firstSchedules 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

  • get_key_policyGet key policyPOSTAgents: ask firstGets a key policy attached to the specified KMS key, returning the policy document in JSON format.
  • put_key_policyPut key policyPOSTAgents: ask firstAttaches or replaces a key policy on a KMS key to control access permissions.

Key rotation, 2 operations

  • disable_key_rotationDisable key rotationPOSTAgents: ask firstDisables automatic rotation of the key material of the specified symmetric encryption KMS key.
  • enable_key_rotationEnable key rotationPOSTAgents: ask firstEnables automatic rotation of the key material of the specified symmetric encryption KMS key. AWS KMS rotates the key material every year.

Mac, 2 operations

  • generate_macGenerate macPOSTAgents: ask firstGenerates an HMAC for a message using an HMAC KMS key. The resulting MAC can be verified with VerifyMac to prove message integrity.
  • verify_macVerify macPOSTAgents: ask firstVerifies an HMAC for a message using an HMAC KMS key. Returns a Boolean indicating whether the HMAC is valid.

Resource, 2 operations

  • tag_resourceTag resourcePOSTAgents: ask firstAdds 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.
  • untag_resourceUntag resourcePOSTAgents: ask firstDeletes tags from a customer managed key. To delete a tag, specify the tag key and the KMS key.

Data key pair, 1 operation

  • generate_data_key_pair_without_plaintextGenerate data key pair without plaintextPOSTAgents: ask firstReturns 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

  • generate_data_keyGenerate data keyPOSTAgents: ask firstReturns 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

  • generate_data_key_pairGenerate data key pairPOSTAgents: ask firstReturns 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

  • generate_data_key_without_plaintextGenerate data key without plaintextPOSTAgents: ask firstReturns 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

  • generate_randomGenerate randomPOSTAgents: ask firstReturns a random byte string that is cryptographically secure. By default, the random byte string is generated in AWS KMS.

Key description, 1 operation

  • update_key_descriptionUpdate key descriptionPOSTAgents: ask firstUpdates the description of a KMS key. To see the description of a KMS key, use DescribeKey.

Key rotation status, 1 operation

  • get_key_rotation_statusGet key rotation statusPOSTAgents: ask firstGets a Boolean value that indicates whether automatic rotation of the key material is enabled for the specified KMS key.

Public key, 1 operation

  • get_public_keyGet public keyPOSTAgents: ask firstReturns 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

  • re_encryptRe encryptPOSTAgents: ask firstDecrypts 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 Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect AWS KMS

  1. Create your workspace

    Sign up free. Nothing to install.

  2. 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.

  3. 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

Browse the whole catalog