Vend catalog credentials
Changed onMints 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
Request
- Base URLhttps://api.tower.dev/v1
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
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.
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"
}Changes
- info
added the required property
to the response with the status
- info