Fix Headings for Consul Secret Engine (#8107)

This commit is contained in:
Paul Banks 2020-01-07 16:46:43 +00:00 committed by Chris Hoffman
parent 1198fe848b
commit 0b5c7550a6

View file

@ -67,7 +67,7 @@ updated attributes.
| :--------------------------- | :--------------------- |
| `POST` | `/consul/roles/:name` |
### Parameters for Consul version below 1.4
### Parameters for Consul versions 1.4 and above
- `name` `(string: <required>)`  Specifies the name of an existing role against
which to create this Consul credential. This is part of the request URL.
@ -123,7 +123,7 @@ $ curl \
http://127.0.0.1:8200/v1/consul/roles/example-role
```
### Parameters for Consul versions 1.4 and above
### Parameters for Consul version below 1.4
- `lease` `(string: "")`  Specifies the lease for this role. This is provided
as a string duration with a time suffix like `"30s"` or `"1h"`. If not