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
* [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:
parent
b52d3504cb
commit
e90872b486
2 changed files with 4 additions and 1 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- hashi_vault - add missing ``mount_point`` parameter for approle auth (https://github.com/ansible-collections/community.general/pull/897).
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue