feat: add provisioner key cli commands (#13875)

This commit is contained in:
Garrett Delfosse
2024-07-18 14:44:20 -04:00
committed by GitHub
parent 91cbe679c0
commit f975701b34
11 changed files with 361 additions and 6 deletions
@@ -5,6 +5,8 @@ USAGE:
Manage provisioner daemons
Aliases: provisioner
SUBCOMMANDS:
start Run a provisioner daemon
@@ -0,0 +1,16 @@
coder v0.0.0-devel
USAGE:
coder provisionerd keys
Manage provisioner keys
Aliases: key
SUBCOMMANDS:
create Create a new provisioner key
delete Delete a provisioner key
list List provisioner keys
———
Run `coder --help` for a list of global options.
@@ -0,0 +1,13 @@
coder v0.0.0-devel
USAGE:
coder provisionerd keys create [flags] <name>
Create a new provisioner key
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
———
Run `coder --help` for a list of global options.
@@ -0,0 +1,18 @@
coder v0.0.0-devel
USAGE:
coder provisionerd keys delete [flags] <name>
Delete a provisioner key
Aliases: rm
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
-y, --yes bool
Bypass prompts.
———
Run `coder --help` for a list of global options.
@@ -0,0 +1,15 @@
coder v0.0.0-devel
USAGE:
coder provisionerd keys list [flags]
List provisioner keys
Aliases: ls
OPTIONS:
-O, --org string, $CODER_ORGANIZATION
Select which organization (uuid or name) to use.
———
Run `coder --help` for a list of global options.