api-tokens
The api-tokens
subcommand is used to manage API Tokens for your Prodvana organization.
pvnctl api-tokens
Manage api tokens.
pvnctl api-tokens create
Usage:
pvnctl api-tokens [command]
Available Commands:
create Create a new api token tied to the organization. This token never expires and is not tied to the user in any way.
Flags:
-h, --help help for api-tokens
Global Flags:
--editor string Editor to use for interactive commands. If not set, default to value of EDITOR, then GIT_EDITOR.
-f, --format string Output format. Accepts one of [table, json]. (default "table")
--no-color Disables color output; this is implicitly set if output == json
Use "pvnctl api-tokens [command] --help" for more information about a command.
Create
To create a new API Token:
$ pvnctl api-tokens create
[api token]
Make sure to save this token in a secure place, like a production secrets vault or password manager!
Updated 6 months ago