You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
description: Secure private keys in step-ca deployments. Hardware security modules, key management, and cryptographic best practices for enterprise PKI.
5
-
updated_at: September 17, 2025
5
+
updated_at: February 02, 2026
6
6
---
7
7
8
8
By default, `step-ca` stores its signing keys encrypted on disk.
@@ -74,11 +74,12 @@ Now, let's sign a root CA certificate based on the the key you just created. Sub
The `step` CLI automatically detects AWS KMS URIs, so the `--kms` flag is optional when the key URI includes the `awskms:` prefix. The region can be included in the key URI.
238
+
238
239
Output:
239
240
240
241
```
@@ -246,11 +247,10 @@ Great. Next, we'll repeat the process for the Intermediate CA:
@@ -483,7 +483,7 @@ Now, let's sign a root CA certificate based on the the key you just created. Sub
483
483
484
484
```shell nocopy
485
485
$ step certificate create --profile root-ca \
486
-
--kms "$PKCS_URI"
486
+
--kms "$PKCS_URI" \
487
487
--key "pkcs11:id=7331;object=root-ca" \
488
488
"Smallstep Root CA" root_ca.crt
489
489
```
@@ -494,12 +494,17 @@ Output:
494
494
Your certificate has been saved in root_ca.crt.
495
495
```
496
496
497
+
<Alertseverity="info">
498
+
<div>
499
+
The `--kms` flag is optional if you include the full PKCS #11 URI (with module-path, token, and PIN) in the `--key` argument. However, using `--kms` keeps the key identifier shorter and avoids repeating connection details across multiple commands.
500
+
</div>
501
+
</Alert>
502
+
497
503
Great. Next, we'll repeat the process for the Intermediate CA:
0 commit comments