CLI reference
norcube auth ci-token
Create, list and revoke CI tokens for automation
Not verified yet
A CI token lets a CI job or script call Norcube without a person's login. It belongs to an organization, carries only the scopes you give it, and always expires. Set it as NORCUBE_TOKEN (or pass --token-file) and every command uses it:
NORCUBE_TOKEN=nrc_ci_… norcube langsync syncThe token keeps working when the person who created it leaves the organization. Creating one needs the IAM permission to manage CI tokens, and you can only grant scopes your own role allows.
Usage
norcube auth ci-token <command> [flags]Also available as: ci-tokens.
Commands
| Command | Description |
|---|---|
create | Create a CI token; the secret is printed once |
list | List the organization's CI tokens |
revoke | Revoke a CI token; jobs using it fail from then on |
scopes | List the scopes a CI token can have, and which you may grant |
Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.
See also
norcube auth: Check the session, manage CLI sessions and CI tokens, and get access tokens for scripts