Vault Auto-Auth LDAP Method
The ldap
method reads in a password from a file and sends it to the LDAP Auth
method.
Configuration
password_file_path
(string: required)
- The path to the password fileusername
(string: required)
- The username to authenticate against on Vaultremove_password_after_reading
(bool: optional, defaults to true)
- This can be set tofalse
to disable the default behavior of removing the password after it's been read.remove_password_follows_symlinks
(bool: optional, defaults to false)
- This can be set totrue
to follow symlinks when removing the password after it has been read when executing theremove_password_after_reading
behaviour. If set to false, it will delete the symlink, not the password file. Does nothing ifremove_password_after_reading
is false.password_read_period
(duration: "0.5s", optional)
- The duration after which auto-auth will attempt to read the password stored atpassword_file_path
. Defaults to1m
ifremove_password_after_reading
is set totrue
, or0.5s
otherwise. Uses duration format strings.