We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83185db commit c54051cCopy full SHA for c54051c
kubernetes_asyncio/client/configuration.py
@@ -411,14 +411,12 @@ async def auth_settings(self):
411
:return: The Auth Settings information dict.
412
"""
413
auth = {}
414
- if 'BearerToken' in self.api_key:
+ if 'authorization' in self.api_key:
415
auth['BearerToken'] = {
416
'type': 'api_key',
417
'in': 'header',
418
'key': 'authorization',
419
- 'value': await self.get_api_key_with_prefix(
420
- 'BearerToken',
421
- ),
+ 'value': await self.get_api_key_with_prefix('authorization'),
422
}
423
return auth
424
0 commit comments