Conversation
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
Vercel Previews Deployed
|
Broken Link CheckerNo broken links found! 🎉 |
|
Links provided in PR description doesn't work. |
schavis
left a comment
There was a problem hiding this comment.
Minimal changes for style corrections. Let me know when you're ready for another look.
| ## Rotate root password | ||
|
|
||
| The `rotate-root` endpoint offers password rotation for the `binddn` entry used to manage LDAP. | ||
| This generated password will only be known to Vault and will not be retrievable once rotated. |
There was a problem hiding this comment.
| This generated password will only be known to Vault and will not be retrievable once rotated. | |
| The root password becomes irretrievable and only known to Vault once you rotate it. |
Style correction: write in active voice, avoid "this" as a pronoun
| $ curl \ | ||
| --header "X-Vault-Token: ..." \ | ||
| --request POST \ | ||
| http://127.0.0.1:8200/v1/auth/ldap/rotate-root |
There was a problem hiding this comment.
| $ curl \ | |
| --header "X-Vault-Token: ..." \ | |
| --request POST \ | |
| http://127.0.0.1:8200/v1/auth/ldap/rotate-root | |
| $ curl \ | |
| --request POST \ | |
| --header "X-Vault-Token: ${VAULT_TOKEN}" \ | |
| ${VAULT_ADDR}/v1/auth/ldap/rotate-root |
We're slowly moving example code over to using standard env variables to reduce how much folks need to edit the example before running it.
This document is updated as part of the main Ticket:
https://hashicorp.atlassian.net/browse/VAULT-42182
Description:
Added new section at
api-docs/auth/ldap.mdxfor root rotation.Changes:

Document before update:
Document after update (Root Rotation section is added before the List LDAP Group):
