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

Added support to specify Userpass Auth method's mount name #36

Closed kouddy closed 2 years ago

kouddy commented 3 years ago

Fixes https://github.com/rundeck-plugins/vault-storage/issues/35

Description: Added support to specify Userpass Auth method's mount name.

Testing done: Ran ./gradlew clean build and added generated plugin to docker/rundeck folder.

Modified docker/docker-compose.xml to include following configurations:

    - RUNDECK_STORAGE_PROVIDER_1_CONFIG_AUTHBACKEND=userpass
    - RUNDECK_STORAGE_PROVIDER_1_CONFIG_USERPASSAUTHMOUNT=maple
    - RUNDECK_STORAGE_PROVIDER_1_CONFIG_USERNAME=user1
    - RUNDECK_STORAGE_PROVIDER_1_CONFIG_PASSWORD=user1

Then ran make start to start the containers. Then configured vault to have Userpass auth method with user user1. Then loaded Rundeck and verified that Rundeck is able to load and add secrets.

kouddy commented 3 years ago

Hi @ltamaster, I have submitted a new pull request to rundeck-plugins/vault-storage

Thank you!