latestOpenAPI 3.1.02026-08-20118232229.3 KB
0e42b0fb26d9
Vend catalog credentials
Mints a short-lived OAuth bearer token for browser or SDK access to a managed (tower-catalog) catalog. Defaults to read-only (mode: "read"); pass mode: "read-write" in the body (requires the catalogs:data:write scope) for a token bound to the read-write principal. Team membership is enforced before vending; the master Polaris credentials never leave Tower.
post/catalogs/{name}/credentials
Path parameters
namestring required
The name of the catalog.
The name of the catalog.
Query parameters
environmentstring
Environment whose catalog credentials to vend. When it has no same-named catalog, credentials for the catalog from default are vended instead.
Environment whose catalog credentials to vend. When it has no same-named catalog, credentials for the catalog from default are vended instead.
Request body
Example request
{
"$schema": "https://api.tower.dev/v1/schemas/VendCatalogCredentialsBody.json"
}Response
OK
Example response
{
"$schema": "https://api.tower.dev/v1/schemas/VendCatalogCredentialsResponse.json"
}