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

secretBackend has no effect #8

Closed libussa closed 5 years ago

libussa commented 5 years ago

I have rundeck.storage.provider.1.config.secretBackend=rundeck in my config, but the plugin is still trying to write in secret/ Is that option working?

libussa commented 5 years ago

I believe the issues lies here https://github.com/rundeck-plugins/vault-storage/blob/aa4ae1a624e8ff8500ffd85f555947f468e94ba8/src/main/java/io/github/valfadeev/rundeck/plugin/vault/KeyObjectBuilder.java#L35

where the backend is hardcoded.

ltamaster commented 5 years ago

Hi @libussa ,

Yes you are right, I reproduced it and I will send a fix now.

Luis