Token carries info, no need to pass in flags

This commit is contained in:
Sebastian Tiedtke 2018-11-27 11:00:34 -08:00 committed by GitHub
parent 9bdf89e867
commit 2a690d81ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -351,8 +351,7 @@ $ TOKEN=$(step ca token foo.example.com \
--ca-url https://ca.example.com \ --ca-url https://ca.example.com \
--root /path/to/root_ca.crt --password-file /path/to/provisioner/password) --root /path/to/root_ca.crt --password-file /path/to/provisioner/password)
$ step ca certificate "foo.example.com" foo.crt foo.key --token "$TOKEN" \ $ step ca certificate "foo.example.com" foo.crt foo.key --token "$TOKEN"
--ca-url https://ca.example.com --root /path/to/root_ca.crt
``` ```
You can take a closer look at the contents of the certificate using `step certificate inspect`: You can take a closer look at the contents of the certificate using `step certificate inspect`: