alpacon token duplicate

Create a copy of an existing API token, including all scopes and ACL rules (Command, Server, File). The source token is identified by name or UUID.

alpacon token duplicate TOKEN [flags]

Options

  -n, --name string   Name for the new token (optional)
  -h, --help          help for duplicate

Examples

Duplicate a token (auto-generated name):

alpacon token duplicate my-api-token

Duplicate with a custom name:

alpacon token duplicate my-api-token --name "my-api-token-copy"

Duplicate by UUID:

alpacon token duplicate 550e8400-e29b-41d4-a716-446655440000
The new token key is shown only once after creation. Copy it immediately—it cannot be retrieved again.
Last updated: