Skip to content

Commit

Permalink
Fix #807 Use client.auth.approle.login instead of client.auth_approle (
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauravtalreja1 committed Sep 21, 2022
1 parent d156022 commit cacfa29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynaconf/loaders/vault_loader.py
Expand Up @@ -33,7 +33,7 @@ def get_client(obj):
**{k: v for k, v in obj.VAULT_FOR_DYNACONF.items() if v is not None}
)
if obj.VAULT_ROLE_ID_FOR_DYNACONF is not None:
client.auth_approle(
client.auth.approle.login(
role_id=obj.VAULT_ROLE_ID_FOR_DYNACONF,
secret_id=obj.get("VAULT_SECRET_ID_FOR_DYNACONF"),
)
Expand Down

0 comments on commit cacfa29

Please sign in to comment.