summaryrefslogtreecommitdiff
path: root/docs-chef-io/data/knife/knife_client_key_create.yaml
diff options
context:
space:
mode:
authorIan Maddaus <ian.maddaus@progress.com>2022-11-15 12:46:31 -0500
committerIan Maddaus <ian.maddaus@progress.com>2022-11-15 14:39:59 -0500
commit3836dde58af1f1af3c14707b770fc964721fbfea (patch)
tree05ad41e484593e97d6f30a687882e2b8a491cb82 /docs-chef-io/data/knife/knife_client_key_create.yaml
parent98a5b647a0d608ee99dd08ebf9d61c2ab183286a (diff)
downloadchef-3836dde58af1f1af3c14707b770fc964721fbfea.tar.gz
Add rake task to generate data for each knife subcommandim/knife_docs
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
Diffstat (limited to 'docs-chef-io/data/knife/knife_client_key_create.yaml')
-rw-r--r--docs-chef-io/data/knife/knife_client_key_create.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs-chef-io/data/knife/knife_client_key_create.yaml b/docs-chef-io/data/knife/knife_client_key_create.yaml
new file mode 100644
index 0000000000..39ca8140cc
--- /dev/null
+++ b/docs-chef-io/data/knife/knife_client_key_create.yaml
@@ -0,0 +1,23 @@
+---
+banner: knife client key create CLIENT (options)
+expiration_date:
+ short: "-e DATE"
+ long: "--expiration-date DATE"
+ description: 'Optionally pass the expiration date for the key in ISO 8601 formatted
+ string: YYYY-MM-DDTHH:MM:SSZ e.g. 2013-12-24T21:00:00Z. Defaults to infinity if
+ not passed. UTC timezone assumed.'
+file:
+ short: "-f FILE"
+ long: "--file FILE"
+ description: Write the private key to a file, if you requested the server to create
+ one.
+key_name:
+ short: "-k NAME"
+ long: "--key-name NAME"
+ description: The name for your key. If you do not pass a name, you must pass --public-key,
+ and the name will default to the fingerprint of the public key passed.
+public_key:
+ short: "-p FILENAME"
+ long: "--public-key FILENAME"
+ description: Public key for newly created key. If not passed, the server will create
+ a key pair for you, but you must pass --key-name NAME in that case.