Conversation
This command allows use use KMS URIs without using the `--kms` flag. Those commands using cryptoutils package will read a key from a KMS if the name is not a file and is one of the supported KMS types.
Member
|
This is a great improvement 😄 |
tashian
added a commit
to smallstep/docs
that referenced
this pull request
Feb 2, 2026
Update cryptographic-protection.mdx examples to show the simplified syntax where KMS URIs can be used directly without the --kms flag. The step CLI now auto-detects KMS URIs by their scheme prefix (cloudkms:, awskms:, yubikey:, tpmkms:, pkcs11:), so the --kms flag is optional in many cases. Related: smallstep/cli#1560 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2 tasks
tashian
added a commit
to smallstep/docs
that referenced
this pull request
Feb 2, 2026
Update cryptographic-protection.mdx examples to show the simplified syntax where KMS URIs can be used directly without the --kms flag. The step CLI now auto-detects KMS URIs by their scheme prefix (cloudkms:, awskms:, yubikey:, tpmkms:, pkcs11:), so the --kms flag is optional in many cases. Related: smallstep/cli#1560 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit allows using KMS URIs without using the
--kmsflag. Those commands using cryptoutils package will read a key from a KMS if the name is not a file and is one of the supported KMS types.Examples:
step certificate create --csr --key yubikey:slot-id=9a me@example.com yubikey.csrstep certificate create --profile root-ca --key 'yubikey:slot-id=82?pin-value=123456' "Smallstep Root CA" root_ca.crtstep certificate sign --profile intermediate-ca intermediate.csr yubikey:slot-id=82 'yubikey:slot-id=82?pin-value=123456'step ca renew yubikey.crt yubikey:slot-id=9astep ca rekey --private-key yubikey:slot-id=82 yubikey.crt yubikey:slot-id=9astep ca certificate --x5c-cert yubikey:slot-id=9a --x5c-key yubikey:slot-id=9a me@example.com me.crt me.keystep ca token --x5c-cert yubikey:slot-id=9a --x5c-key yubikey:slot-id=9a me@example.com