-
Notifications
You must be signed in to change notification settings - Fork 29
azion_create_personal token
GitHub Action edited this page Oct 24, 2023
·
2 revisions
Creates a personal token
Creates a personal token to be used for authentication and security
azion create personal-token [flags]
$ azion create personal-token --name "ranking of kings" --expiration "9m"
$ azion create personal-token --name "sakura" --expiration "9m"
$ azion create personal-token --name "strawhat" --expiration "9m" --description "gear five"
$ azion create personal-token --in "create.json"
$ "create.json" example:
{
"name": "One day token",
"expires_at": "9m",
"description": "example"
}
--description string The personal token's description
--expiration string The personal token's expiration
-h, --help Displays more information about the 'create personal-token' 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
-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 create - Creates a new resource on the Azion Edge Platform