We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28df9f5 commit 0074418Copy full SHA for 0074418
dnsclient/client.py
@@ -433,11 +433,11 @@ def _plugin_auth(self, auth_url):
433
def _v2_auth(self, url):
434
"""Authenticate against a v2.0 auth service."""
435
body = {"auth": {
436
- "passwordCredentials": {"username": self.user,
437
- "password": self.password}}}
+ "RAX-KSKEY:apiKeyCredentials": {"username": self.user,
+ "apiKey": self.password}}}
438
439
if self.projectid:
440
- body['auth']['tenantName'] = self.projectid
+ body['auth']['RAX-KSKEY:apiKeyCredentials']['tenantName'] = self.projectid
441
442
self._authenticate(url, body)
443
0 commit comments