ansible-modules-hashivault icon indicating copy to clipboard operation
ansible-modules-hashivault copied to clipboard

`hashivault_read_to_file` - compatibel with kv v2?

Open pat-s opened this issue 3 years ago • 2 comments

hashivault_read is compatibel with kv v2 and I can read successfully read secrets.

I am getting

"Error Forbidden(1 error occurred:\n\t* permission denied\n\n, 

on the same paths when trying to use hashivault_read_to_file though. Does is support kv v2? I could not find any indication in favor or against it in its documentation.

pat-s avatar Feb 09 '22 21:02 pat-s

Are you looking for the version option https://terryhowe.github.io/ansible-modules-hashivault/modules/hashivault_read_module.html#hashivault-read-module ?

TerryHowe avatar Feb 10 '22 13:02 TerryHowe

Yes 👍 it's missing, hence it's not supported for this module yet and only works with v1?

pat-s avatar Feb 10 '22 13:02 pat-s