File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,29 @@ func createCommand() cli.Command {
58
58
: File to read the private key (PEM format).
59
59
60
60
## EXAMPLES
61
- Use a certificate to get a new API token:
61
+ Use a certificate and team ID to get a new API token:
62
62
'''
63
63
$ step api token create ff98be70-7cc3-4df5-a5db-37f5d3c96e23 internal.crt internal.key
64
64
'''
65
65
66
66
Get a token using the team slug:
67
67
'''
68
- $ step api token create teamfoo internal.crt internal.key
68
+ $ step api token create team-foo internal.crt internal.key
69
+ '''
70
+
71
+ Use a certificate with a private key backed by a TPM to get a new API token:
72
+ '''
73
+ $ step api token create team-tpm ecdsa-chain.crt 'tpmkms:name=test-ecdsa'
74
+ '''
75
+
76
+ Use a certificate with a private key backed by a TPM simulator to get a new API token:
77
+ '''
78
+ $ step api token create team-tpm-simulator ecdsa-chain.crt 'tpmkms:name=test-ecdsa;device=/path/to/tpmsimulator.sock'
79
+ '''
80
+
81
+ Use a certificate and a TSS2 PEM encoded private key to get a new API token:
82
+ '''
83
+ $ step api token create team-tss2 ecdsa-chain.crt ecdsa.tss2.pem --tpm-device /dev/tpmrm0
69
84
'''
70
85
` ,
71
86
}
You can’t perform that action at this time.
0 commit comments