AI Gateway Vaults
Update an AI Gateway Vault
Changed onUpdates the configuration of an existing AI Gateway vault.
put/v1/ai-gateways/{gatewayId}/vaults/{vaultIdOrName}
Request
- Base URLhttps://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.
Konnect Config Store Vault required
OR
Environment Variable Vault required
OR
Aws Secrets Manager Vault required
OR
Google Secret Manager Vault required
OR
Azure Key Vault required
OR
Conjur Vault required
OR
Hashi Corp Vault 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_namerequest property's minLength was increased from0to1 - breaking
the
oneOf[#/components/schemas/AzureKeyVault]/config/locationrequest property's minLength was increased from0to1 - breaking
the
oneOf[#/components/schemas/AzureKeyVault]/config/vault_urirequest property's minLength was increased from0to1
65 more changes in this revision
- breaking