From c3c6edbe8a083aef0fb6aea3cb461ff8e715fc59 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Thu, 9 Oct 2014 15:16:07 -0500 Subject: Add plugin to support token-endpoint auth The ksc auth plugins do not have support for the original token-endpoint (aka token flow) auth where the user supplies a token (possibly the Keystone admin_token) and an API endpoint. This is used for bootstrapping Keystone but also has other uses when a scoped user token is provided. The api.auth:TokenEndpoint class is required to provide the same interface methods so all of the special-case code branches to support token-endpoint can be removed. Some additional cleanups related to ClientManager and creating the Compute client also were done to streamline using sessions. Change-Id: I1a6059afa845a591eff92567ca346c09010a93af --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index dc85967f..d9cced15 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,6 +27,9 @@ packages = console_scripts = openstack = openstackclient.shell:main +keystoneclient.auth.plugin = + token_endpoint = openstackclient.api.auth:TokenEndpoint + openstack.cli = module_list = openstackclient.common.module:ListModule -- cgit v1.2.1