Update AD secret engine docs for root cred rotation (#9990)
This commit is contained in:
parent
2289c9ef1d
commit
15e608c0ed
|
@ -472,6 +472,7 @@ Rotate the `bindpass` to a new one known only to Vault.
|
|||
| Method | Path |
|
||||
| :----- | :---------------- |
|
||||
| `GET` | `/ad/rotate-root` | `204 (empty body) or 200 with warning` |
|
||||
| `POST` | `/ad/rotate-root` | `204 (empty body) or 200 with warning` |
|
||||
|
||||
Generally, `rotate-root` returns a 204. However, if `rotate-root` is already in progress, it may return a 200 with a warning that root credential rotation is already in progress.
|
||||
|
||||
|
@ -483,3 +484,12 @@ $ curl \
|
|||
--request GET \
|
||||
http://127.0.0.1:8200/v1/ad/rotate-root
|
||||
```
|
||||
|
||||
### Sample Post Request
|
||||
|
||||
```shell-session
|
||||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
--request POST \
|
||||
http://127.0.0.1:8200/v1/ad/rotate-root
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue