def _auth_userpass(self, _client: hvac.Client) -> None: if self.auth_mount_point: _client.auth_userpass( username=self.username, password=self.password, mount_point=self.auth_mount_point ) else: _client.auth_userpass(username=self.username, password=self.password)
def _auth_userpass(self, _client: hvac.Client) -> None: _client.auth_userpass(username=self.username, password=self.password)