mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-08 12:21:42 +01:00
* Initial implementation * Use rotation_statements, handle both password and private_key * Remove debug prints * Merge in main * Remove duplicated error text * Rename keypair root rotation function * Use NewRotateRootCredentialsWALPasswordEntry * Add changelog file * Move back to original file for now, for review * put generatePassword into function * Fix names, call helper for generatePassword * Generalize the rotation flow and keypair path * Fix conditional check, remove new file * Fix changelog * Add test file * Fix username check var name * Fix name variable * Return an error when both fields are set during rotation, and return an error if somehow walEntry is nil * Fix test godoc * Remove print * change rotated key bits to 4096 Co-authored-by: Robert <17119716+robmonte@users.noreply.github.com>