Esempio n. 1
0
 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)
Esempio n. 2
0
 def _auth_userpass(self, _client: hvac.Client) -> None:
     _client.auth_userpass(username=self.username, password=self.password)