AI Gateway Config Stores

Update an AI Gateway Config Store Secret

Changed on

Updates a secret for an AI Gateway Config Store.

put/v1/ai-gateways/{gatewayId}/config-stores/{configStoreIdOrName}/secrets/{key}

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

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

The unique ID of the AI Gateway.

configStoreIdOrName, string uuid required

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

The unique ID of the AI Gateway Config Store.

key, string required

The unique key identifying the secret within the Config Store.

Example:my-secret-key

Config Store Secret key.

Request body

UpdateAIGatewayConfigStoreSecretRequest required
value, string required

The secret value. Once stored, this value cannot be retrieved.

Example request

{
  "value": "my-secret-value"
}

Response

Config Store Secret updated successfully.

AIGatewayConfigStoreSecret required
key, string required

The unique key identifying the secret within the Config Store.

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": "my-secret-key",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      the value request property's minLength was increased from 0 to 1

    • 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

    1 more change in this revision