Merge "Add support for token caching"
This commit is contained in:
commit
782e4d0f97
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user