Amazon KMS Keys API

KMS cryptographic key management

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Cybersecurity Management BC-620

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#CreateKey Create a customer managed KMS key · Create Key #
Ask an LLM
“How do I create a customer managed KMS key in my account?”
“Can I create a multi-Region KMS key that I can replicate into other Regions?”
Tell an agent
Create a KMS key with key spec {KeySpec}.
Create a customer managed KMS key described as {Description}.
POST /#DescribeKey Describe a KMS key · Describe Key #
Ask an LLM
“What is the key state, creation date and origin of a KMS key?”
“Can I see the key policy and key usage of a KMS key?”
Tell an agent
Describe KMS key {KeyId}.
Show the key state and key usage of key {KeyId}.
POST /#DisableKey Disable a KMS key · Disable Key #
Ask an LLM
“How do I temporarily stop a KMS key from being used for encryption?”
“Can I disable a KMS key that is in a compatible key state?”
Tell an agent destructive · confirm first
Disable KMS key {KeyId}.
Temporarily prevent key {KeyId} from cryptographic operations.
POST /#EnableKey Enable a KMS key · Enable Key #
Ask an LLM
“How do I turn a disabled KMS key back on?”
“Can I re-enable a KMS key that is currently disabled?”
Tell an agent
Enable KMS key {KeyId}.
Set key {KeyId} back to enabled so it can be used again.
POST /#ListKeys List KMS keys in my account · List Keys #
Ask an LLM
“Which KMS keys exist in my account and Region?”
“Can I page through all my KMS keys?”
Tell an agent
List all KMS keys in my account.
List my KMS keys, {Limit} at a time starting from {Marker}.
POST /#ReplicateKey Replicate a multi-Region KMS key · Replicate Key #
Ask an LLM
“How do I replicate a multi-Region primary key into another Region?”
“Can I replicate a multi-Region key into a specific Region?”
Tell an agent
Replicate multi-Region key {KeyId} into {ReplicaRegion}.
Create a replica of key {KeyId} in {ReplicaRegion} with description {Description}.
POST /#RotateKeyOnDemand Rotate a symmetric KMS key's key material · Rotate Key On Demand #
Ask an LLM
“How do I rotate the key material of a symmetric KMS key right now?”
“Can I force a key rotation without waiting for the automatic schedule?”
Tell an agent
Rotate the key material of symmetric KMS key {KeyId} on demand.
Immediately rotate key {KeyId} so it can be used with new key material.
POST /#ScheduleKeyDeletion Schedule a KMS key for deletion · Schedule Key Deletion #
Ask an LLM
“How do I delete a KMS key after a waiting period?”
“Can I choose how many days a KMS key stays in PendingDeletion before it is deleted?”
Tell an agent destructive · confirm first
Schedule KMS key {KeyId} for deletion.
Delete key {KeyId} after {PendingWindowInDays} days.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-kms:amazon-kms-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-kms-keys-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Key Management Service Keys API
  version: '2014-11-01'
  description: Generated from AWS's published Smithy model for AWS Key Management Service. 8 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://kms.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (58 KB total) ---
# Full source: https://artifacts.apis.io/amazon-kms/openapi/amazon-kms-keys-api-openapi.yml