[ansible-project] Response' object has no attribute '__getitem__ while running the lookup plugin 'hashi_vault'

2020-05-20 Thread Asmitha j.s
I'm using hashi_vault to retrieve secrets from HashiCorp’s vault in ansible playbook. - name: Return all secrets from a path set_fact: vault_result: "{{ lookup('hashi_vault', 'secret=secret/key:value token=token url=https://vaultaddress/ui/vault/secrets/secret/list/folder/subfolder

Re: [ansible-project] Response' object has no attribute '__getitem__ while running the lookup plugin 'hashi_vault'

2020-05-21 Thread Asmitha j.s
> Have you installed pip hashi vault module . I think you have to install > the pip module for this connection. Check in hashi vault module page in > official ansible document . In first few line you can see the requirements. > Fix that it will work . > > On Wed 20. May 2020 at

[ansible-project] retrive secrets from vault using github token

2020-05-28 Thread Asmitha j.s
I want retrieve secrets from HashiCorp’s vault in ansible playbook using github token. When I checked the documentation https://docs.ansible.com/ansible/latest/plugins/lookup/hashi_vault.html, I found auth method can be following - userpass - ldap - approle But I wanted to retrieve