Key Encryption Keys (v1)

Create a kek

post/dek-registry/v1/keks

Request

  • Base URL
    https://psrc-00000.region.provider.confluent.cloud
  • URL
    https://psrc-00000.region.provider.confluent.cloud/dek-registry/v1/keks
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.confluent.cloud/sts/v1/oauth2/token

Query parameters

testSharingboolean

Whether to test kek sharing

Request body

namestring

Name of the kek

kmsTypestring

KMS type of the kek

kmsKeyIdstring

KMS key ID of the kek

kmsPropsobject

Properties of the kek

docstring

Description of the kek

sharedboolean

Whether the kek is shared

deletedboolean

Whether the kek is deleted

Example request

{
  "kmsProps": {
    "key": "kmsProps"
  },
  "shared": true,
  "name": "name",
  "doc": "doc",
  "kmsKeyId": "kmsKeyId",
  "kmsType": "kmsType"
}

Response

The create response

namestring

Name of the kek

kmsTypestring

KMS type of the kek

kmsKeyIdstring

KMS key ID of the kek

kmsPropsobject

Properties of the kek

docstring

Description of the kek

sharedboolean

Whether the kek is shared

tsinteger

Timestamp of the kek

deletedboolean

Whether the kek is deleted

Example response

{
  "kmsProps": {
    "key": "kmsProps"
  },
  "shared": true,
  "deleted": true,
  "name": "name",
  "doc": "doc",
  "kmsKeyId": "kmsKeyId",
  "kmsType": "kmsType",
  "ts": 0
}

Changes

No recorded changes to this operation across all 7 revisions of this API.