nodus create apikey
View Markdownnodus create apikey
Section titled “nodus create apikey”Create an API key (printed once)
nodus create apikey NAME [flags]Examples
Section titled “Examples” nodus create apikey ci --scopes jobs:write,volumes:read --projects research --expires 720hOptions
Section titled “Options” --description string What the key is for (at most 256 characters) --dry-run string[="server"] server returns the estimate without creating; client prints the manifest (default "none") --expires string Lifetime of the key, such as 720h (default: it does not expire) -h, --help help for apikey -o, --output string Output format: name, json, yaml, or estimate (with --dry-run=server) --projects strings Projects the key may reach, comma-separated or repeated (default: all) --scopes strings Scopes such as jobs:write, comma-separated or repeated (default: whatever your role allows) --service-account string Bind the key to this ServiceAccount of the project (-p)Options inherited from parent commands
Section titled “Options inherited from parent commands” --context string Context from the config file to use --org string Organization (selects the context for that org) -p, --project string Project to work in -v, --verbose Log each API request (never credentials)SEE ALSO
Section titled “SEE ALSO”- nodus create - Create resources from manifests or with a typed generator
Tested examples
Section titled “Tested examples”These invocations run in CI against the CLI’s fake API.
nodus create apikey ci --scopes jobs:write,volumes:read --projects research --expires 720hnodus create apikey ci2 -o namenodus create apikey bot --service-account deploy --dry-run=client