KMS Configuration

KMS Config Create

Create a new KMS configuration. This configuration will not be assigned to any tenants.

post/1/kms/configs

Request

Headers

icl-requestor-idstring required

ID of requesting user/service

Request body

leasingAllowedboolean

Optional value indicating whether KMS config leasing should be enabled for the new configuration. If undefined, defaults to false.

Example request

{
  "config": {
    "credentials": {
      "clientId": "string",
      "clientSecret": "string",
      "tenantGuid": "string"
    },
    "keyPath": {
      "keyName": "string",
      "vaultBaseUrl": "string"
    },
    "type": "AZURE",
    "version": 1
  }
}

Response

Result of creating a KMS configuration

idinteger required

KMS configuration ID

encryptedConfigstring required

Base 64 string

kmsType'AZURE' | 'AWS' | 'GCP' required

KMS type: AWS, Azure, or GCP

versioninteger required

Config version

leasingAllowedboolean required

Is key leasing enabled?

assignmentCountinteger required

Number of consumers of this configuration

secretCountinteger required

Number of active secrets associated with this configuration

createdstring required

RFC3339 timestamp

updatedstring required

RFC3339 timestamp

Example response

{
  "id": 1,
  "encryptedConfig": "string",
  "kmsType": "AZURE",
  "version": 1,
  "createdBy": {
    "id": "string",
    "name": "string",
    "type": "Vaa"
  },
  "created": "2022-01-13T21:44:43.653Z",
  "updated": "2022-01-13T21:44:43.653Z",
  "leasingAllowed": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.