Event Gateway Static Keys

Get a Static Key

Changed on

Returns information about an individual static key.

get/v1/event-gateways/{gatewayId}/static-keys/{staticKeyId}

Request

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

Path parameters

gatewayId, string uuid required
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

The UUID of your Gateway.

staticKeyId, string uuid required

The ID of the static key.

Response

A single static key.

EventGatewayStaticKey required

A symmetric key with its secret value.

name, string required

The unique name of the static key.

description, string

A human-readable description of the static key.

labels, Labels

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 "_".

id, string uuid required

The unique identifier of the static key.

value, string

A sensitive value containing the secret or a reference to a secret as a template string expression. If the value is provided as plain text, it is encrypted at rest and omitted from API responses. If provided as an expression, the expression itself is stored and returned by the API.

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

{
  "labels": {
    "env": "test"
  },
  "value": "${vault.env['MY_ENV_VAR']}",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • warning

      added the new 403.00 enum value to the status response property for the response status

    • warning

      added the new 404.00 enum value to the status response property for the response status

    • breaking

      the response's body type changed from no type to object for status

    18 more changes in this revision