# AWS Key Management Service API

> AWS Key Management Service API on Apizie: 50 endpoints (Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled .…, Connects or reconnects a custom key store to its backing key store. For an CloudHSM key store,…, Creates a friendly name for a KMS key. Adding, deleting, or updating an alias can allow or deny permission…, Creates a custom key store backed by a key store that you own and manage. When you use a KMS key in a custom…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:amazonaws-kms/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:amazonaws-kms`
- Category: Cloud
- Status: byok
- Source: https://github.com/mermade/aws2openapi
- Page: https://apizie.tech/api/cloud/amazonaws-kms
- OpenAPI: https://apizie.tech/api/cloud/amazonaws-kms/openapi.json

Key Management Service Key Management Service (KMS) is an encryption and key management web service. This guide describes the KMS operations that you can call programmatically. For general information about KMS, see…

## Endpoints

### Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled .…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/cancel-key-deletion` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Connects or reconnects a custom key store to its backing key store. For an CloudHSM key store,…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/connect-custom-key-store` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a friendly name for a KMS key. Adding, deleting, or updating an alias can allow or deny permission…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/create-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a custom key store backed by a key store that you own and manage. When you use a KMS key in a custom…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/create-custom-key-store` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Adds a grant to a KMS key. A grant is a policy instrument that allows Amazon Web Services principals to use…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/create-grant` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a unique customer managed KMS key in your Amazon Web Services account and Region. You can use a KMS…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/create-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Decrypts ciphertext that was encrypted by a KMS key using any of the following operations: Encrypt…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/decrypt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes the specified alias. Adding, deleting, or updating an alias can allow or deny permission to the KMS…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/delete-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes a custom key store . This operation does not affect any backing elements of the custom key store. It…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/delete-custom-key-store` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes key material that was previously imported. This operation makes the specified KMS key temporarily…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/delete-imported-key-material` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Gets information about custom key stores in the account and Region. This operation is part of the custom key…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/describe-custom-key-stores` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Provides detailed information about a KMS key. You can run DescribeKey on a customer managed key or an…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/describe-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS key for…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/disable-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Disables automatic rotation of the key material of the specified symmetric encryption KMS key. Automatic key…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/disable-key-rotation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Disconnects the custom key store from its backing key store. This operation disconnects an CloudHSM key…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/disconnect-custom-key-store` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Sets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/enable-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Enables automatic rotation of the key material of the specified symmetric encryption KMS key. When you…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/enable-key-rotation` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Encrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or asymmetric KMS key with…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/encrypt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns a unique symmetric data key for use outside of KMS. This operation returns a plaintext copy of the…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/generate-data-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/generate-data-key-pair` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/generate-data-key-pair-without-plaintext` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns a unique symmetric data key for use outside of KMS. This operation returns a data key that is…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/generate-data-key-without-plaintext` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/generate-mac` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns a random byte string that is cryptographically secure. You must use the NumberOfBytes parameter to…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/generate-random` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Gets a key policy attached to the specified KMS key. Cross-account use : No. You cannot perform this…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/get-key-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Gets a Boolean value that indicates whether automatic rotation of the key material is enabled for the…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/get-key-rotation-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns the public key and an import token you need to import or reimport key material for a KMS key. By…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/get-parameters-for-import` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key, which never…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/get-public-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Imports or reimports key material into an existing KMS key that was created without key material.…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/import-key-material` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/list-aliases` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Gets a list of all grants for the specified KMS key. You must specify the KMS key in all requests. You can…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/list-grants` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Gets the names of the key policies that are attached to a KMS key. This operation is designed to get policy…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/list-key-policies` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Gets a list of all KMS keys in the caller's Amazon Web Services account and Region. Cross-account use : No.…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/list-keys` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Returns all tags on the specified KMS key. For general information about tags, including the format and…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/list-resource-tags` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Returns information about all grants in the Amazon Web Services account and Region that have the specified…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/list-retirable-grants` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| Limit | integer | no | Pagination limit |
| Marker | string | no | Pagination token |
| body | object | no | JSON request body |

### Attaches a key policy to the specified KMS key. For more information about key policies, see Key Policies in…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/put-key-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this operation to change the KMS…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/re-encrypt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Replicates a multi-Region key into the specified Region. This operation creates a multi-Region replica key…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/replicate-key` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To identify the…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/retire-grant` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes the specified grant. You revoke a grant to terminate the permissions that the grant allows. For more…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/revoke-grant` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30 days, but you can…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/schedule-key-deletion` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Creates a digital signature for a message or message digest by using the private key in an asymmetric…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/sign` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Adds or edits tags on a customer managed key . Tagging or untagging a KMS key can allow or deny permission…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/tag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Deletes tags from a customer managed key . To delete a tag, specify the tag key and the KMS key. Tagging or…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/untag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Associates an existing KMS alias with a different KMS key. Each alias is associated with only one KMS key at…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/update-alias` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Changes the properties of a custom key store. You can use this operation to change the properties of an…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/update-custom-key-store` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Updates the description of a KMS key. To see the description of a KMS key, use DescribeKey . The KMS key…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/update-key-description` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Changes the primary key of a multi-Region key. This operation changes the replica key in the specified…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/update-primary-region` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Verifies a digital signature that was generated by the Sign operation. Verification confirms that an…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/verify` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

### Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC…
`POST https://apizie.tech/v1/cloud:amazonaws-kms/verify-mac` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | no | JSON request body |

## Example
```
curl "https://apizie.tech/v1/cloud:amazonaws-kms/cancel-key-deletion" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the AWS Key Management Service API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:amazonaws-kms/cancel-key-deletion with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the AWS Key Management Service API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. AWS Key Management Service itself also needs your own key from amazonaws.com.

### Can AI agents use the AWS Key Management Service API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:amazonaws-kms.

### What is the status of the AWS Key Management Service API?
Needs your own provider key (bring your own key)
