Update AD secret engine docs for root cred rotation (#9990)

This commit is contained in:
Lauren Voswinkel 2020-09-21 16:21:14 -07:00 committed by GitHub
parent 2289c9ef1d
commit 15e608c0ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -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
```