alpacon token create
Generates a new API token for accessing the server. This command allows you to create a token by specifying options such as token name, expiration, and limits.
alpacon token create [flags]
Options
--expiration-in-days int This token can be used by the specified time (in days)
-h, --help help for create
-l, --limit Set to true to apply usage limits (default true)
-n, --name string A name to remember the token easily
Examples
Create a token interactively:
alpacon token create
Create a token with a name and expiration:
alpacon token create -n my-token --expiration-in-days 30
Create a token without limits:
alpacon token create -n my-token -l=false