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