Rbac
Credentials
System-Level
Create a system-level API token
Create a system-level API token associated with a system-level Kargo Role virtual resource. Returns a Kubernetes Secret resource representing the token. Store it securely. The token is not retrievable via the Kargo API after creation except in a redacted form.
post/v1beta1/system/roles/{role}/api-tokens
Request
- Base URLhttps://docs.kargo.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
rolestring required
Role name
Request body
Response
Secret resource (k8s.io/api/core/v1.Secret)
Changes
No recorded changes to this operation across all 2 revisions of this API.