Update Consuls Secrets quick start (#4224)

- Fix typo in role name
- Drop ordered list formatting on get credential example
This commit is contained in:
Brian Shumate 2018-03-30 10:46:05 -04:00 committed by Jeff Mitchell
parent 610c137a3d
commit bf1b8709a6

View file

@ -73,11 +73,11 @@ When users generate credentials, they are generated against this role:
After the secrets engine is configured and a user/machine has a Vault token with After the secrets engine is configured and a user/machine has a Vault token with
the proper permission, it can generate credentials. the proper permission, it can generate credentials.
1. Generate a new credential by reading from the `/creds` endpoint with the name Generate a new credential by reading from the `/creds` endpoint with the name
of the role: of the role:
```text ```text
$ vault read consul/creds/readonly $ vault read consul/creds/my-role
Key Value Key Value
--- ----- --- -----
lease_id consul/creds/my-role/b2469121-f55f-53c5-89af-a3ba52b1d6d8 lease_id consul/creds/my-role/b2469121-f55f-53c5-89af-a3ba52b1d6d8