rundeck-plugins / vault-storage

Storage plugin for Rundeck for storing data in Vault
http://rundeck.org/plugins/vault/2017/11/25/vault-storage.html
MIT License
18 stars 11 forks source link

Add support to specify mount path for Userpass Auth method #35

Closed kouddy closed 2 years ago

kouddy commented 3 years ago

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.