Vault
Check in a service account
Return a service account previously checked out from a previously configured LDAP library.
Returing a service account to the library tells Vault to rotate the associated password.
Use vault write with the -f flag and
{mount_path}/library/{set_name}/check-out
path to request a service account:
$ vault write -f <mount_path>/library/<set_name>/check-out
For example:
$ vault write -f devcreds/library/accounting-team/check-out
Key Value
--- -----
lease_id devcreds/library/accounting-team/check-out/EpuS8cX7uEsDzOwW9kkKOyGW
lease_duration 10h
lease_renewable true
password ?@09AZKh03hBORZPJcTDgLfntlHqxLy29tcQjPVThzuwWAx/Twx4a2ZcRQRqrZ1w
service_account_name fizz@example.com