mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
API Docs: Secrets/OpenLDAP (#8521)
* API Docs: Secrets/OpenLDAP - Update HTTP methods to POST for unsupported (GET) methods on: - /openldap/rotate-root - /openldap/rotate-role/:role_name * Update website/pages/api-docs/secret/openldap/index.mdx Co-Authored-By: Vishal Nayak <vishalnayak@users.noreply.github.com> * Update website/pages/api-docs/secret/openldap/index.mdx Co-Authored-By: Vishal Nayak <vishalnayak@users.noreply.github.com> Co-authored-by: Vishal Nayak <vishalnayak@users.noreply.github.com>
This commit is contained in:
@@ -191,14 +191,14 @@ The `rotate-root` endpoint offers password rotation for the `binddn` entry used
|
||||
|
||||
| Method | Path |
|
||||
| :----- | :---------------------- |
|
||||
| `GET` | `/openldap/rotate-root` |
|
||||
| `POST` | `/openldap/rotate-root` |
|
||||
|
||||
### Sample Get Request
|
||||
### Sample Request
|
||||
|
||||
```sh
|
||||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
--request GET \
|
||||
--request POST \
|
||||
http://127.0.0.1:8200/v1/openldap/rotate-root
|
||||
```
|
||||
|
||||
@@ -208,13 +208,13 @@ The `rotate-role` endpoint offers manual rotation of static roles.
|
||||
|
||||
| Method | Path |
|
||||
| :----- | :---------------------- |
|
||||
| `GET` | `/openldap/rotate-role/:role_name` |
|
||||
| `POST` | `/openldap/rotate-role/:role_name` |
|
||||
|
||||
### Sample Get Request
|
||||
### Sample Request
|
||||
|
||||
```sh
|
||||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
--request GET \
|
||||
--request POST \
|
||||
http://127.0.0.1:8200/v1/openldap/rotate-role/:role_name
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user