CMEK

Create or replace a CMEK

Changed on

Create or replace a customer managed encryption key.

put/v1/cmeks/{cmekId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

cmekId, 'default' required
Example:default

Customer Managed Encryption Key identifier. This ID is selected from a predefined, Konnect-specific list of allowed values and uniquely identifies a CMEK configuration within a given organization and Konnect region. While not global in function, these IDs behave like scoped namespaces with enforced uniqueness and enumeration constraints.

Request body

object required
key_arn, string required

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use for encryption and decryption. We recommend using one multi-region key (MRK) per Konnect region to enhance security and compliance, while also supporting failover to other AWS regions.

name, string required

The name of the CMEK. We recommend you match the key's name used in KMS.

description, string

An optional description of the CMEK.

Example request

{
  "key_arn": "arn:aws:kms:us-east-1:123456789012:key/mrk-12345678123412341234123456789012",
  "name": "My KMS Key",
  "description": "My Key Description"
}

Response

A CMEK

CMEK required
id, string required
key_arn, string required

The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to use for encryption and decryption. We recommend using one multi-region key (MRK) per Konnect region to enhance security and compliance, while also supporting failover to other AWS regions.

name, string required

The name of the CMEK. We recommend you match the key's name used in KMS.

description, string

An optional description of the CMEK.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "key_arn": "arn:aws:kms:us-east-1:123456789012:key/mrk-12345678123412341234123456789012",
  "name": "My KMS Key",
  "description": "My Key Description",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status