MeilleursAgents / terraform-provider-ansiblevault

Read ansible vault from Terraform
https://registry.terraform.io/providers/MeilleursAgents/ansiblevault/latest
MIT License
76 stars 19 forks source link

Support for vault id labels #106

Open jgoldstrom opened 3 years ago

jgoldstrom commented 3 years ago

I am trying to use this library to decrypt a vault file that was created using a vault id 'label'. I don't see support for vault id labels in any of the provided examples. When I try to decrypt the vault file, I get the error 'invalid secret format error'. If I try a vault file that was not encrypted with a vault id label, the decryption works.

bdronneau commented 3 years ago

Hello @jgoldstrom ,

I never use the vault-id feature. I will try to reproduce this use case. Fell free to contribute if you see why it's not working.

Best