Currently this plugin's Userpass Auth method is set to always use userpass/ as mount path because method call vaultAuth.loginByUserPass(vaultUsername, vaultPassword) always uses userpass/ as mount path.
At the company which I am working on, we use Vault's Userpass Auth method with mount path that's not userpass/.
This is possible as mentioned in https://www.vaultproject.io/api/auth/userpass.
Objective of this issue is to allow consumers of this plugin to be able to configure the mount path.
Currently this plugin's Userpass Auth method is set to always use
userpass/
as mount path because method callvaultAuth.loginByUserPass(vaultUsername, vaultPassword)
always usesuserpass/
as mount path.At the company which I am working on, we use Vault's Userpass Auth method with mount path that's not
userpass/
. This is possible as mentioned inhttps://www.vaultproject.io/api/auth/userpass
.Objective of this issue is to allow consumers of this plugin to be able to configure the mount path.