Amazon KMS · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for AWS Key Management Service Operations API
31 actions
31 updates
phrasing
extends
openapi/amazon-kms-operations-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Amazon KMS's API. It is a proposal applied on top of the contract, not a document Amazon KMS publishes.
What the actions change
x-apievangelist-phrasing
Targets 31 · first 16 shown; the file carries all of them
$.info
$.paths['/#Decapsulate'].post
$.paths['/#Decrypt'].post
$.paths['/#DeriveSharedSecret'].post
$.paths['/#Encapsulate'].post
$.paths['/#Encrypt'].post
$.paths['/#ReEncrypt'].post
$.paths['/#Sign'].post
$.paths['/#Verify'].post
$.paths['/#VerifyMac'].post
$.paths['/#CancelKeyDeletion'].post
$.paths['/#ScheduleKeyDeletion'].post
$.paths['/#DeleteImportedKeyMaterial'].post
$.paths['/#GenerateDataKey'].post
$.paths['/#GenerateDataKeyWithoutPlaintext'].post
$.paths['/#GenerateDataKeyPair'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for AWS Key Management Service Operations API
version: 1.0.0
extends: openapi/amazon-kms-operations-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 30
- target: $.paths['/#Decapsulate'].post
update:
x-apievangelist-phrasing:
intent: Recover an ML-KEM shared secret from its ciphertext
effect: read
questions:
- How do I recover the shared secret from an ML-KEM ciphertext?
- Can I decrypt an ML-KEM encapsulated key in a China Region?
instructions:
- text: Decapsulate ML-KEM ciphertext {ciphertext} using key {key}.
slots:
ciphertext: requestBody.SharedSecretCiphertextBlob
key: requestBody.KeyId
- text: Recover the shared secret from {ciphertext} with encapsulation algorithm {algorithm}.
slots:
ciphertext: requestBody.SharedSecretCiphertextBlob
algorithm: requestBody.EncapsulationAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#Decrypt'].post
update:
x-apievangelist-phrasing:
intent: Decrypt ciphertext encrypted by KMS
effect: read
questions:
- How do I decrypt ciphertext that KMS encrypted?
- Can I decrypt asymmetric ciphertext under a different KMS key?
instructions:
- text: Decrypt ciphertext {ciphertext} with KMS key {key}.
slots:
ciphertext: requestBody.CiphertextBlob
key: requestBody.KeyId
- text: Decrypt {ciphertext} using encryption algorithm {algorithm}.
slots:
ciphertext: requestBody.CiphertextBlob
algorithm: requestBody.EncryptionAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#DeriveSharedSecret'].post
update:
x-apievangelist-phrasing:
intent: Derive a shared secret from a peer's public key
effect: read
questions:
- How do I derive a shared secret from an ECC public key?
- Can I use ECDH key agreement with a peer's public key?
instructions:
- text: Derive a shared secret from public key {public_key} using key {key}.
slots:
public_key: requestBody.PublicKey
key: requestBody.KeyId
- text: Use key agreement algorithm {algorithm} to derive a shared secret with {public_key}.
slots:
algorithm: requestBody.KeyAgreementAlgorithm
public_key: requestBody.PublicKey
method: generated
generated: '2026-11-18'
- target: $.paths['/#Encapsulate'].post
update:
x-apievangelist-phrasing:
intent: Encapsulate a shared secret into ciphertext
effect: write
questions:
- How do I generate an ML-KEM ciphertext of a shared secret?
- Can I encapsulate a shared secret for a peer to decapsulate?
instructions:
- text: Encapsulate a shared secret with key {key}.
slots:
key: requestBody.KeyId
- text: Encapsulate a shared secret using encapsulation algorithm {algorithm}.
slots:
algorithm: requestBody.EncapsulationAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#Encrypt'].post
update:
x-apievangelist-phrasing:
intent: Encrypt plaintext with a KMS key
effect: write
questions:
- How do I encrypt a small secret with a KMS key?
- Can I encrypt plaintext under an asymmetric KMS key?
instructions:
- text: Encrypt {plaintext} with KMS key {key}.
slots:
plaintext: requestBody.Plaintext
key: requestBody.KeyId
- text: Encrypt {plaintext} under asymmetric key {key} with algorithm {algorithm}.
slots:
plaintext: requestBody.Plaintext
key: requestBody.KeyId
algorithm: requestBody.EncryptionAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#ReEncrypt'].post
update:
x-apievangelist-phrasing:
intent: Decrypt and re-encrypt ciphertext under another KMS key
effect: write
questions:
- How do I rotate the KMS key protecting ciphertext?
- Can I change the encryption context of ciphertext?
instructions:
- text: Re-encrypt ciphertext {ciphertext} under key {key}.
slots:
ciphertext: requestBody.CiphertextBlob
key: requestBody.DestinationKeyId
- text: Re-encrypt {ciphertext} from key {source} to key {destination}.
slots:
ciphertext: requestBody.CiphertextBlob
source: requestBody.SourceKeyId
destination: requestBody.DestinationKeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#Sign'].post
update:
x-apievangelist-phrasing:
intent: Create a digital signature for a message
effect: write
questions:
- How do I sign a message with an asymmetric KMS key?
- Can I sign a message digest instead of the raw message?
instructions:
- text: Sign {message} with key {key} using signing algorithm {algorithm}.
slots:
message: requestBody.Message
key: requestBody.KeyId
algorithm: requestBody.SigningAlgorithm
- text: Sign message digest {message} with key {key} and algorithm {algorithm}.
slots:
message: requestBody.Message
key: requestBody.KeyId
algorithm: requestBody.SigningAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#Verify'].post
update:
x-apievangelist-phrasing:
intent: Verify a digital signature
effect: read
questions:
- How do I verify a signature generated by KMS?
- Does the signature verification confirm the message hasn't changed?
instructions:
- text: Verify signature {signature} of {message} with key {key} and algorithm {algorithm}.
slots:
signature: requestBody.Signature
message: requestBody.Message
key: requestBody.KeyId
algorithm: requestBody.SigningAlgorithm
- text: Check that signature {signature} on {message} was made with key {key} using {algorithm}.
slots:
signature: requestBody.Signature
message: requestBody.Message
key: requestBody.KeyId
algorithm: requestBody.SigningAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#VerifyMac'].post
update:
x-apievangelist-phrasing:
intent: Verify a hash-based message authentication code
effect: read
questions:
- How do I verify an HMAC on a message?
- Can I confirm a message was signed with a specific HMAC KMS key?
instructions:
- text: Verify HMAC {mac} on {message} with key {key} using MAC algorithm {algorithm}.
slots:
mac: requestBody.Mac
message: requestBody.Message
key: requestBody.KeyId
algorithm: requestBody.MacAlgorithm
- text: Check that HMAC {mac} matches the message {message} under key {key} and {algorithm}.
slots:
mac: requestBody.Mac
message: requestBody.Message
key: requestBody.KeyId
algorithm: requestBody.MacAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#CancelKeyDeletion'].post
update:
x-apievangelist-phrasing:
intent: Cancel the scheduled deletion of a KMS key
effect: destructive
questions:
- How do I stop a KMS key from being deleted?
- Can I bring a key back after scheduling its deletion?
instructions:
- text: Cancel the deletion of KMS key {key}.
slots:
key: requestBody.KeyId
- text: Stop the scheduled deletion of key {key}.
slots:
key: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#ScheduleKeyDeletion'].post
update:
x-apievangelist-phrasing:
intent: Schedule a KMS key for deletion
effect: destructive
questions:
- How do I delete a KMS key after a waiting period?
- Can I choose a 7- to 30-day waiting period before deleting a key?
instructions:
- text: Schedule KMS key {key} for deletion.
slots:
key: requestBody.KeyId
- text: Delete key {key} after {days} days.
slots:
key: requestBody.KeyId
days: requestBody.PendingWindowInDays
method: generated
generated: '2026-11-18'
- target: $.paths['/#DeleteImportedKeyMaterial'].post
update:
x-apievangelist-phrasing:
intent: Delete imported key material from a KMS key
effect: destructive
questions:
- How do I make imported key material unusable?
- Can I remove a specific imported key material version?
instructions:
- text: Delete imported key material from KMS key {key}.
slots:
key: requestBody.KeyId
- text: Remove imported key material {material} from key {key}.
slots:
material: requestBody.KeyMaterialId
key: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GenerateDataKey'].post
update:
x-apievangelist-phrasing:
intent: Generate a symmetric data key for use outside KMS
effect: write
questions:
- How do I get a plaintext data key and an encrypted copy for my app?
- Can I choose the length of the data key?
instructions:
- text: Generate a data key for KMS key {key}.
slots:
key: requestBody.KeyId
- text: Generate a {bytes}-byte data key for key {key}.
slots:
bytes: requestBody.NumberOfBytes
key: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GenerateDataKeyWithoutPlaintext'].post
update:
x-apievangelist-phrasing:
intent: Generate an encrypted-only symmetric data key
effect: write
questions:
- Can I get an encrypted symmetric data key with no plaintext copy, to use for encryption later?
- How do I create a data key that I only decrypt when I'm ready to encrypt data?
- Is there a KMS operation that returns only the encrypted copy of a data key?
instructions:
- text: Generate an encrypted-only {key_spec} data key under KMS key {key_id}, with no plaintext copy returned.
slots:
key_spec: requestBody.KeySpec
key_id: requestBody.KeyId
- text: Create an encrypted-only data key of {num_bytes} bytes under {key_id} that I will decrypt later.
slots:
num_bytes: requestBody.NumberOfBytes
key_id: requestBody.KeyId
- text: Dry run an encrypted-only data key request for {key_id} using DryRun value {dry_run}.
slots:
key_id: requestBody.KeyId
dry_run: requestBody.DryRun
method: generated
generated: '2026-11-18'
- target: $.paths['/#GenerateDataKeyPair'].post
update:
x-apievangelist-phrasing:
intent: Generate a signed data key pair with plaintext
effect: write
questions:
- How do I get a public and private key pair for signing outside KMS?
- Which key types can I generate for a data key pair?
instructions:
- text: Generate a {key_pair_spec} data key pair under key {key_id}.
slots:
key_pair_spec: requestBody.KeyPairSpec
key_id: requestBody.KeyId
- text: Generate a {key_pair_spec} key pair for recipient {recipient}, encrypted with {key_id}.
slots:
key_pair_spec: requestBody.KeyPairSpec
recipient: requestBody.Recipient
key_id: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GenerateDataKeyPairWithoutPlaintext'].post
update:
x-apievangelist-phrasing:
intent: Generate a signed data key pair without plaintext
effect: write
questions:
- Is there a way to get the public key and encrypted private key but not the plaintext private key?
- Can I generate a key pair for signing that keeps the private key secret?
instructions:
- text: Generate a {key_pair_spec} data key pair for key {key_id} without plaintext.
slots:
key_pair_spec: requestBody.KeyPairSpec
key_id: requestBody.KeyId
- text: Create an encrypted private key for key pair {key_pair_spec} on {key_id}, keeping the private key secret.
slots:
key_pair_spec: requestBody.KeyPairSpec
key_id: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GenerateMac'].post
update:
x-apievangelist-phrasing:
intent: Generate an HMAC for a message
effect: write
questions:
- How do I create a message authentication code for a message with an HMAC KMS key?
- Can I verify a message hasn't changed using an HMAC and the VerifyMac operation?
instructions:
- text: Generate an HMAC for message {Message} using HMAC key {KeyId} and algorithm {MacAlgorithm}.
slots:
Message: requestBody.Message
KeyId: requestBody.KeyId
MacAlgorithm: requestBody.MacAlgorithm
- text: Create a MAC for {Message} with key {KeyId} and MAC algorithm {MacAlgorithm}.
slots:
Message: requestBody.Message
KeyId: requestBody.KeyId
MacAlgorithm: requestBody.MacAlgorithm
method: generated
generated: '2026-11-18'
- target: $.paths['/#GenerateRandom'].post
update:
x-apievangelist-phrasing:
intent: Generate a cryptographically random byte string
effect: write
questions:
- How do I get a random byte string that KMS generates for me?
- Can I generate random bytes in a CloudHSM cluster or Nitro Enclave instead?
instructions:
- text: Generate {NumberOfBytes} random bytes.
slots:
NumberOfBytes: requestBody.NumberOfBytes
- text: Generate a random byte string in CloudHSM cluster {CustomKeyStoreId}.
slots:
CustomKeyStoreId: requestBody.CustomKeyStoreId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GetKeyLastUsage'].post
update:
x-apievangelist-phrasing:
intent: Get the last cryptographic usage of a key
effect: read
questions:
- When was a KMS key last used for a successful cryptographic operation?
- What operation type and CloudTrail event ID came with the key's most recent use?
instructions:
- text: Show the last usage of key {KeyId}.
slots:
KeyId: requestBody.KeyId
- text: Get the operation type, timestamp and CloudTrail event ID for the most recent use of {KeyId}.
slots:
KeyId: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GetKeyRotationStatus'].post
update:
x-apievangelist-phrasing:
intent: Check whether automatic key rotation is enabled
effect: read
questions:
- Is automatic rotation of a KMS key's material turned on?
- When is the next scheduled rotation of a key?
instructions:
- text: Get the rotation status of key {KeyId}.
slots:
KeyId: requestBody.KeyId
- text: Show whether automatic rotation is enabled for {KeyId} and when the next rotation is due.
slots:
KeyId: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#GetParametersForImport'].post
update:
x-apievangelist-phrasing:
intent: Get the public key and import token for key material
effect: read
questions:
- How do I import my own key material into a KMS key?
- What wrapping algorithm and key spec do I need to protect key material during import?
instructions:
- text: Get the import parameters for key {KeyId} using wrapping algorithm {WrappingAlgorithm} and key spec {WrappingKeySpec}.
slots:
KeyId: requestBody.KeyId
WrappingAlgorithm: requestBody.WrappingAlgorithm
WrappingKeySpec: requestBody.WrappingKeySpec
- text: Prepare to import key material into {KeyId} with wrapping algorithm {WrappingAlgorithm} and wrapping key spec {WrappingKeySpec}.
slots:
KeyId: requestBody.KeyId
WrappingAlgorithm: requestBody.WrappingAlgorithm
WrappingKeySpec: requestBody.WrappingKeySpec
method: generated
generated: '2026-11-18'
- target: $.paths['/#GetPublicKey'].post
update:
x-apievangelist-phrasing:
intent: Get the public key of an asymmetric KMS key
effect: read
questions:
- How do I download the public key of an asymmetric KMS key?
- Can I share a KMS key's public key so others can encrypt or verify signatures?
instructions:
- text: Get the public key of asymmetric key {KeyId}.
slots:
KeyId: requestBody.KeyId
- text: Download the public key for {KeyId} so others can encrypt messages with it.
slots:
KeyId: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#ImportKeyMaterial'].post
update:
x-apievangelist-phrasing:
intent: Import key material into a key with no material
effect: write
questions:
- How do I import my own key material into a KMS key that was created without key material?
- Can I set an expiration date on imported key material?
instructions:
- text: Import key material {EncryptedKeyMaterial} into key {KeyId} using import token {ImportToken}.
slots:
EncryptedKeyMaterial: requestBody.EncryptedKeyMaterial
KeyId: requestBody.KeyId
ImportToken: requestBody.ImportToken
- text: Import key material {EncryptedKeyMaterial} into {KeyId} with token {ImportToken} and expiration {ValidTo}.
slots:
EncryptedKeyMaterial: requestBody.EncryptedKeyMaterial
KeyId: requestBody.KeyId
ImportToken: requestBody.ImportToken
ValidTo: requestBody.ValidTo
method: generated
generated: '2026-11-18'
- target: $.paths['/#ListAliases'].post
update:
x-apievangelist-phrasing:
intent: List KMS key aliases
effect: read
questions:
- Which aliases are associated with a particular KMS key?
- Can I list only the aliases in my account and region?
instructions:
- text: List aliases for key {KeyId}.
slots:
KeyId: requestBody.KeyId
- text: Show all aliases in my account and region.
method: generated
generated: '2026-11-18'
- target: $.paths['/#ListResourceTags'].post
update:
x-apievangelist-phrasing:
intent: List tags on a KMS key
effect: read
questions:
- What tags are on a customer managed KMS key?
- Can I see the tag keys and values for a key?
instructions:
- text: List tags on key {KeyId}.
slots:
KeyId: requestBody.KeyId
- text: Show the tag keys and values for customer managed key {KeyId}.
slots:
KeyId: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#ListRetirableGrants'].post
update:
x-apievangelist-phrasing:
intent: List grants that a principal can retire
effect: read
questions:
- Which grants can a given principal retire?
- Can I find grants that a service principal is retiring?
instructions:
- text: List grants that retiring principal {RetiringPrincipal} can retire.
slots:
RetiringPrincipal: requestBody.RetiringPrincipal
- text: Find grants retiring service principal {RetiringServicePrincipal}.
slots:
RetiringServicePrincipal: requestBody.RetiringServicePrincipal
method: generated
generated: '2026-11-18'
- target: $.paths['/#TagResource'].post
update:
x-apievangelist-phrasing:
intent: Tag a customer managed KMS key
effect: write
questions:
- How do I add tags to a customer managed KMS key?
- Can I edit an existing tag on a KMS key?
instructions:
- text: Tag key {KeyId} with {Tags}.
slots:
KeyId: requestBody.KeyId
Tags: requestBody.Tags
- text: Add or edit tags {Tags} on customer managed key {KeyId}.
slots:
Tags: requestBody.Tags
KeyId: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#UntagResource'].post
update:
x-apievangelist-phrasing:
intent: Remove tags from a customer managed KMS key
effect: destructive
questions:
- How do I remove tags from a customer managed KMS key?
- What happens if I delete a tag key that isn't on the key?
instructions:
- text: Untag key {KeyId} by removing tag keys {TagKeys}.
slots:
KeyId: requestBody.KeyId
TagKeys: requestBody.TagKeys
- text: Delete tag keys {TagKeys} from customer managed key {KeyId}.
slots:
TagKeys: requestBody.TagKeys
KeyId: requestBody.KeyId
method: generated
generated: '2026-11-18'
- target: $.paths['/#UpdateKeyDescription'].post
update:
x-apievangelist-phrasing:
intent: Update a KMS key's description
effect: write
questions:
- How do I change the description of a KMS key?
- Can I add a description to a customer managed key?
instructions:
- text: Update the description of key {KeyId} to {Description}.
slots:
KeyId: requestBody.KeyId
Description: requestBody.Description
- text: Set the description of customer managed key {KeyId} to {Description}.
slots:
KeyId: requestBody.KeyId
Description: requestBody.Description
method: generated
generated: '2026-11-18'
- target: $.paths['/#UpdatePrimaryRegion'].post
update:
x-apievangelist-phrasing:
intent: Change the primary key of a multi-Region key
effect: write
questions:
- How do I make a replica key the primary key in a different region?
- Can I switch which region hosts the primary key of a multi-Region key?
instructions:
- text: Make key {KeyId} the primary key in region {PrimaryRegion}.
slots:
KeyId: requestBody.KeyId
PrimaryRegion: requestBody.PrimaryRegion
- text: Change the primary key of multi-Region key {KeyId} to {PrimaryRegion}.
slots:
KeyId: requestBody.KeyId
PrimaryRegion: requestBody.PrimaryRegion
method: generated
generated: '2026-11-18'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/amazon-kms-operations-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.