Azure / Azure/azure_preview_modules

ansible lookup plugin errors out with azure_keyvault_secret

Open
#386 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
43
Forks
57
PR merge metrics
No merged PRs in 30d

Description

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 , original message: Failed to fetch secret:XXXXX via MSI endpoint."}

Thank you,

Emre

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.