AI Gateway Auth Strategies
Create an AI Gateway Auth Strategy
Changed onRegisters a new auth strategy for the AI Gateway.
post/v1/ai-gateways/{gatewayId}/auth-strategies
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.
Request body
union required
AIGateway Auth Strategy Key Auth required
Configuration for an auth strategy.
OR
AIGateway Auth Strategy Open IDConnect required
Configuration for an auth strategy.
Example request
{
"display_name": "Okta AI SE",
"name": "okta-ai-se",
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"datastores": [
{
"name": "vault-konnect-prod"
}
]
}Response
Auth strategy created successfully.
union required
AIGateway Auth Strategy Key Auth Response required
Configuration for an auth strategy.
OR
AIGateway Auth Strategy Open IDConnect Response required
Configuration for an auth strategy.
Example response
{
"display_name": "Okta AI SE",
"name": "okta-ai-se",
"labels": {
"category": "finance"
},
"managed_by": {
"owner": "terraform"
},
"datastores": [
{
"name": "vault-konnect-prod"
}
],
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
the response property
oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/identity_realms/items/idbecame nullable for the status - info
the request property
oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/identity_realms/items/idbecame nullable
- breaking
- breaking
request property
oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/http_versionwas restricted to a list of enum values
67 more changes in this revision
- breaking