-
Notifications
You must be signed in to change notification settings - Fork 302
Update --kms flag help
#1550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update --kms flag help
#1550
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -469,8 +469,42 @@ flag exists so it can be configured in $STEPPATH/config/defaults.json.`, | |
| } | ||
|
|
||
| KMSUri = cli.StringFlag{ | ||
| Name: "kms", | ||
| Usage: "The <uri> to configure a Cloud KMS or an HSM.", | ||
| Name: "kms", | ||
| Usage: `The <uri> to configure a Cloud KMS or an HSM. | ||
| <uri> is formatted as **kmstype:[key=value;...]?[key=value&...]**. The **;**-separated | ||
| parameters identify the KMS, and **&**-separated parameters contain credentials. | ||
|
tashian marked this conversation as resolved.
Outdated
|
||
|
|
||
| : Supported KMS types: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm okay with just having the most common options shown, and if people dig into step-kms-plugin for the others. I guess I'm sensitive to the length of the help text. |
||
|
|
||
| **YubiKey PIV** | ||
| : Use **yubikey:** URIs. Parameters: **serial**, **pin-value**, **pin-source**, **management-key**, **management-key-source**. | ||
|
|
||
| **PKCS #11** | ||
| : Use **pkcs11:** URIs. Parameters: **module-path**, **token**, **id**, **object**, **pin-value**, **pin-source**. | ||
|
|
||
| **TPM 2.0** | ||
| : Use **tpmkms:** URIs. Parameters: **name**, **device**, **attestation-ca-url**. | ||
|
|
||
| **Google Cloud KMS** | ||
| : Use **cloudkms:** URIs. Parameters: **credentials-file**. | ||
|
|
||
| **AWS KMS** | ||
| : Use **awskms:** URIs. Parameters: **region**, **profile**, **credentials-file**. | ||
|
|
||
| **Azure Key Vault** | ||
| : Use **azurekms:** URIs. Parameters: **tenant-id**, **client-id**, **client-secret**, **client-certificate-file**. | ||
|
|
||
| : Examples: | ||
|
|
||
| ''' | ||
| yubikey:pin-value=123456 | ||
| pkcs11:module-path=/usr/lib/softhsm/libsofthsm2.so;token=smallstep?pin-value=pass | ||
| tpmkms:name=my-key;device=/dev/tpmrm0 | ||
| awskms:region=us-east-1 | ||
| azurekms:client-id=fooo;client-secret=bar;tenant-id=9de53416-4431-4181-7a8b-23af3EXAMPLE | ||
| ''' | ||
|
|
||
| For more information, see https://smallstep.com/docs/step-ca/cryptographic-protection/.`, | ||
| } | ||
|
|
||
| AttestationURI = cli.StringFlag{ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.