AI Gateway Vaults

Update an AI Gateway Vault

Changed on

Updates the configuration of an existing AI Gateway vault.

put/v1/ai-gateways/{gatewayId}/vaults/{vaultIdOrName}

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.

vaultIdOrName, string uuid required

Contains a unique identifier used for this resource.

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

The unique ID of the AI Gateway Vault.

Request body

union required

Configuration for an AI Gateway Vault.

KonnectConfigStoreVault required
OR
EnvironmentVariableVault required
OR
AwsSecretsManagerVault required
OR
GoogleSecretManagerVault required
OR
AzureKeyVault required
OR
ConjurVault required
OR
HashiCorpVault required

Example request

{
  "name": "my-awesome-vault",
  "description": "This vault is used to retrieve redis database access credentials",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "config": {
    "config_store_id": "77426bee-2bca-4005-81af-284868fd3038"
  }
}

Response

Vault updated successfully.

union required

Configuration for an AI Gateway Vault.

intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z",
  "name": "my-awesome-vault",
  "description": "This vault is used to retrieve redis database access credentials",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "config": {
    "config_store_id": "77426bee-2bca-4005-81af-284868fd3038"
  }
}

Changes

    • breaking

      the oneOf[#/components/schemas/AwsSecretsManagerVault]/config/role_session_name request property's minLength was increased from 0 to 1

    • breaking

      the oneOf[#/components/schemas/AzureKeyVault]/config/location request property's minLength was increased from 0 to 1

    • breaking

      the oneOf[#/components/schemas/AzureKeyVault]/config/vault_uri request property's minLength was increased from 0 to 1

    65 more changes in this revision