CLI command · Organization
wl apikey create
Mint a new API key (token shown once)
Creates an API key for your user in your organization, limited to the scopes you list (for example read:packages,write:packages). The token is shown once.
Usage
wl apikey create <name> [options]Arguments and options
- <name>
- Human-readable key name
- --scopes <csv>
- Comma-separated scopes (e.g. read:packages,write:packages) Required.
- --expires <iso>
- Expiry timestamp (ISO 8601)