File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 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 {
5858: File to read the private key (PEM format).
5959
6060## EXAMPLES
61- Use a certificate to get a new API token:
61+ Use a certificate and team ID to get a new API token:
6262'''
6363$ step api token create ff98be70-7cc3-4df5-a5db-37f5d3c96e23 internal.crt internal.key
6464'''
6565
6666Get a token using the team slug:
6767'''
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
6984'''
7085` ,
7186 }
You can’t perform that action at this time.
0 commit comments