Merge "Add support for token caching"

This commit is contained in:
Zuul
2021-04-09 23:29:03 +00:00
committed by Gerrit Code Review

View File

@@ -83,6 +83,8 @@ class ClientManager(clientmanager.ClientManager):
self._cli_options._openstack_config._pw_callback = \
shell.prompt_for_password
try:
# We might already get auth from SDK caching
if not self._cli_options._auth:
self._cli_options._auth = \
self._cli_options._openstack_config.load_auth_plugin(
self._cli_options.config,