Amazon KMS Cryptographic Operations API

Encryption, decryption, and signing operations

Operations 5

POST /keys/{KeyId}/encrypt Amazon KMS Encrypt #
POST /decrypt Amazon KMS Decrypt #
POST /keys/{KeyId}/data-key Amazon KMS Generate Data Key #
POST /keys/{KeyId}/sign Amazon KMS Sign #
POST /keys/{KeyId}/verify Amazon KMS Verify #

Documentation

Specifications

Schemas & Data

Other Resources

🔗
Pricing
https://aws.amazon.com/kms/pricing/
🔗
FAQ
https://aws.amazon.com/kms/faqs/
🔗
Features
https://aws.amazon.com/kms/features/
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/json-ld/amazon-kms-context.jsonld
🔗
APIsJSON
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/apis.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-create-key-and-describe-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-data-key-generate-and-decrypt-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-disable-and-schedule-deletion-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-enable-key-and-verify-state-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-envelope-encrypt-decrypt-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-list-and-describe-keys-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-provision-key-and-encrypt-workflow.yml
🔗
Arazzo
https://raw.githubusercontent.com/api-evangelist/amazon-kms/refs/heads/main/arazzo/amazon-kms-sign-and-verify-workflow.yml

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-cryptographic-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-kms-cryptographic-operations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon KMS Cryptographic Operations API
  description: The Amazon KMS API provides programmatic access to manage KMS resources.
  version: '2024-01-01'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
servers:
- url: https://kms.us-east-1.amazonaws.com
  description: Amazon KMS endpoint
security:
- sigv4: []
tags:
- name: Cryptographic Operations
  description: Encryption, decryption, and signing operations
paths:
  /keys/{KeyId}/encrypt:
    post:
      operationId: Encrypt
      summary: Amazon KMS Encrypt
      description: Encrypts plaintext of up to 4,096 bytes using a KMS key.
      tags:
      - Cryptographic Operations
      parameters:
      - name: KeyId
        in: path
        required: true
        schema:
          type: string
        description: Identifies the KMS key.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /decrypt:
    post:
      operationId: Decrypt
      summary: Amazon KMS Decrypt
      description: Decrypts ciphertext that was encrypted by a KMS key.
      tags:
      - Cryptographic Operations
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /keys/{KeyId}/data-key:
    post:
      operationId: GenerateDataKey
      summary: Amazon KMS Generate Data Key
      description: Returns a unique symmetric data key for use outside of KMS.
      tags:
      - Cryptographic Operations
      parameters:
      - name: KeyId
        in: path
        required: true
        schema:
          type: string
        description: Identifies the KMS key.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /keys/{KeyId}/sign:
    post:
      operationId: Sign
      summary: Amazon KMS Sign
      description: Creates a digital signature for a message or message digest using an asymmetric KMS key.
      tags:
      - Cryptographic Operations
      parameters:
      - name: KeyId
        in: path
        required: true
        schema:
          type: string
        description: Identifies the KMS key.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /keys/{KeyId}/verify:
    post:
      operationId: Verify
      summary: Amazon KMS Verify
      description: Verifies a digital signature that was generated by the Sign operation.
      tags:
      - Cryptographic Operations
      parameters:
      - name: KeyId
        in: path
        required: true
        schema:
          type: string
        description: Identifies the KMS key.
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '403':
          description: Access denied
        '500':
          description: Internal server error
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    sigv4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4 authentication