Skip to content

Conversation

@maraino
Copy link
Collaborator

@maraino maraino commented Jan 30, 2026

This commit allows using 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.

Examples:

  • step certificate create --csr --key yubikey:slot-id=9a yubikey.csr
  • step certificate create --profile root-ca --key 'yubikey:slot-id=82?pin-value=123456' "Smallstep Root CA" root_ca.crt
  • step ca renew yubikey.crt yubikey:slot-id=9a
  • step ca rekey --private-key yubikey:slot-id=82 yubikey.crt yubikey:slot-id=9a

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.
@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Jan 30, 2026
@hslatman
Copy link
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>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs triage Waiting for discussion / prioritization by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants