-
Notifications
You must be signed in to change notification settings - Fork 29
azion_personal_token_create
GitHub Action edited this page Oct 19, 2023
·
5 revisions
Creates a new personal token
Creates a personal token to be used for authentication and security
azion personal_token create [flags]
$ azion personal_token create --name "ranking of kings" --expiration "9m"
$ azion personal_token create --name "sakura" --expiration "9m"
$ azion personal_token create --name "luffy biruta" --expiration "9m" --description "gear five"
$ azion personal_token create --in "create.json"
$ json example "create.json":
{
"name": "One day token",
"expires_at": "9m",
"description": "example"
}
--description string The personal token's description
--expiration string The personal token's expiration. It's required if the --in flag is not informed.
-h, --help Displays more information about the create subcommand
--in string Path to a JSON file containing the attributes of the personal token being created; you can use - for reading from stdin
--name string The personal token's name. It's required if the --in flag is not informed.
-c, --config string Sets the Azion configuration folder for the current command only, without changing persistent settings.
-d, --debug Displays log at a debug level
-l, --log-level string Displays log at a debug level (default "info")
-s, --silent Silences log completely; mostly used for automation purposes
-t, --token string Saves a given personal token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
- azion personal_token - Manages the personal tokens configured on the Azion platform