Skip to content

Commit

Permalink
[lookup_plugin/hashi_vault] add missing 'mount_point' param for appro…
Browse files Browse the repository at this point in the history
…le (#897)

* [lookup_plugin/hashi_vault] add missing 'mount_point' param for approle

* [lookup_plugin/hashi_vault] add changelog fragment

* Update changelogs/fragments/897-lookup-plugin-hashivault-add-approle-mount-point.yaml

Co-authored-by: Felix Fontein <[email protected]>

Co-authored-by: Benoit Bayszczak <[email protected]>
Co-authored-by: Felix Fontein <[email protected]>
  • Loading branch information
3 people authored Sep 17, 2020
1 parent 7cf4728 commit 51121e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- hashi_vault - add missing ``mount_point`` parameter for approle auth (https://github.com/ansible-collections/community.general/pull/897).
2 changes: 1 addition & 1 deletion plugins/lookup/hashi_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def auth_ldap(self):
self.client.auth_ldap(**params)

def auth_approle(self):
params = self.get_options('role_id', 'secret_id')
params = self.get_options('role_id', 'secret_id', 'mount_point')
self.client.auth_approle(**params)

def auth_aws_iam_login(self):
Expand Down

0 comments on commit 51121e5

Please sign in to comment.