From 55706841e95811d8ba9d36518a47b0a2df3eb9cb Mon Sep 17 00:00:00 2001 From: "sammy.smati" Date: Thu, 17 Nov 2022 22:42:31 +1100 Subject: [PATCH] feat(plugin): update code to reflect changes in hvac `v1.0.0` --- certbot_vault/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot_vault/plugin.py b/certbot_vault/plugin.py index 2897fae..814efee 100644 --- a/certbot_vault/plugin.py +++ b/certbot_vault/plugin.py @@ -71,7 +71,7 @@ def __init__(self, *args, **kwargs): if self.conf('role-id') and self.conf('secret-id'): auth_mount_point = self.conf('auth-path') or 'approle' - self.hvac_client.auth_approle( + self.hvac_client.auth.approle.login( self.conf('role-id'), self.conf('secret-id'), mount_point=auth_mount_point