Delete Vault Secret

Deletes a secret contained within the specified Event Gateway Vault.

delete

Path Parameters

gatewayIdstring(uuid)required

The UUID of your Gateway.

Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

vaultIdstring(uuid)required

The ID of the Vault.

secretIdstring(uuid)required

The ID of the Vault Secret.

Response

No Content

delete/event-gateways/{gatewayId}/vaults/{vaultId}/secrets/{secretId}
 

EventGatewayVaultType

string

The type of the vault.

Allowed values:envkonnect

EventGatewayVault

object
One Of
namestringrequired

The name of the vault.

Match pattern:^[\p{L}\p{N}][\p{L}\p{N} _\-\.']*[\p{L}\p{N}]$

>= 1 characters<= 255 characters

typestringrequired

The type of the vault.

Allowed values:env

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

descriptionstring

A human-readable description of the vault.

Default:

<= 512 characters

labelsobject

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"env":"test"}

configobjectrequired

The configuration of the environment vault.

Show Child Parameters
Example

EventGatewayVaultSecret

object

A secret contained by a vault.

idstring(uuid)required

The unique identifier of the secret.

keystringrequired

The key of the vault secret.

Match pattern:^[\p{L}\p{N}][\p{L}\p{N} _\-\.']*[\p{L}\p{N}]$

>= 1 characters<= 255 characters

valuestringrequired

The value of the vault secret.

>= 1 characters<= 65535 characters

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

Example

EventGatewayBaseVault

object

Base properties of a vault.

namestringrequired

The name of the vault.

Match pattern:^[\p{L}\p{N}][\p{L}\p{N} _\-\.']*[\p{L}\p{N}]$

>= 1 characters<= 255 characters

typestringrequired

The type of the vault.

Allowed values:envkonnect

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

descriptionstring

A human-readable description of the vault.

Default:

<= 512 characters

labelsobject

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with “kong”, “konnect”, “mesh”, “kic”, or “_”.

Example:{"env":"test"}

Example