Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible lookup plugin errors out with azure_keyvault_secret #386

Open
DevOpsEngineer opened this issue Sep 4, 2020 · 0 comments
Open

ansible lookup plugin errors out with azure_keyvault_secret #386

DevOpsEngineer opened this issue Sep 4, 2020 · 0 comments

Comments

@DevOpsEngineer
Copy link

Hello Team,

Looking for a solution using azure_keyvault_secret module with in ansible lookup plugin (https://docs.ansible.com/ansible/latest/plugins/lookup.html). When fetching secret from a KV, receiving MSI connection timeout error. Please let me know if anyone has experienced the similar issue before.

"{{lookup('azure_keyvault_secret',secret_name,vault_url=keyvault_url)}}"

fatal: [hostname.domain.com]: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'azure_keyvault_secret'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Failed to fetch secret:XXXXX via MSI endpoint."}

Thank you,

Emre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant