Hi Team,
I am setting up rundeck with Hashi Corp Vault, as part of setup process and testing found below issues, If anyone overcame these, please let me know the workaround steps.
Rundeck version installed: 5.10.0
Issues:
I tired installing vault plugin, but rundeck did not recognize this plugin, so i ended up installing from Rundeck UI.
Vault Storage Plugin version installed: 1.2
As per rundeck documentation, this supports KV Engine V2, if we add parameter “rundeck.storage.provider.1.config.engineVersion=2” but this plugin is still using only KV engine V1.
Once all the configuration is completed, restarted rundeck service, and was able to make successful connection to vault and able to see the keys, but as per our environment, we kept the vault token expire for 5 mins, once this expired rundeck is not auto using the new vault automatically.
When rundeck lost connection to the vault due to token expiry, all jobs are failing irrespective if the jobs are using the keys from vault in the jobs or jobs that has user id and password listed within the script manually.
Thanks in advance.