loa api-tokens create
loa api-tokens create
Create API token
Usage
loa api-tokens create <serviceAccount> <token> --type <type> [--domain-whitelist <domain-whitelist>] --org <org> [--project <project>] [--description <description>] [--format <format>]
| Argument | Type | Required | Description |
|---|---|---|---|
serviceAccount | string | Yes | Service account name |
token | string | Yes | Token name |
| Flag | Type | Required | Description |
|---|---|---|---|
--type | string | Yes | Token type; Choices: SECRET, FRONTEND |
--domain-whitelist | string | No | Domain whitelist (for FRONTEND tokens) |
--org | string | Yes | Organization name |
--project | string | No | Project name |
--description | string | No | Description |
--format | string | No | Output format; Aliases: f; Choices: json, yaml, csv; Default: json |