1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[lookup_plugin/hashi_vault] add missing 'mount_point' param for approle (#897) (#926)

* [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 <felix@fontein.de>

Co-authored-by: Benoit Bayszczak <benoit.bayszczak@adevinta.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 51121e54d0)

Co-authored-by: Benoit Bayszczak <bbayszczak@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2020-09-17 21:38:46 +02:00 committed by GitHub
parent b52d3504cb
commit e90872b486
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,3 @@
---
bugfixes:
- hashi_vault - add missing ``mount_point`` parameter for approle auth (https://github.com/ansible-collections/community.general/pull/897).

View file

@ -406,7 +406,7 @@ class HashiVault:
self.client.auth_ldap(**params) self.client.auth_ldap(**params)
def auth_approle(self): 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) self.client.auth_approle(**params)
def auth_aws_iam_login(self): def auth_aws_iam_login(self):