openstack-python-openstackc.../openstackclient
Matthieu Huin 0c77a9fe8b Support for keystone auth plugins
This patch allows the user to choose which authentication plugin
to use with the CLI. The arguments needed by the auth plugins are
automatically added to the argument parser. Some examples with
the currently available authentication plugins::

  OS_USERNAME=admin OS_PROJECT_NAME=admin OS_AUTH_URL=http://keystone:5000/v2.0 \
  OS_PASSWORD=admin openstack user list

  OS_USERNAME=admin OS_PROJECT_DOMAIN_NAME=default OS_USER_DOMAIN_NAME=default \
  OS_PROJECT_NAME=admin OS_AUTH_URL=http://keystone:5000/v3 OS_PASSWORD=admin \
  OS_IDENTITY_API_VERSION=3 OS_AUTH_PLUGIN=v3password openstack project list

  OS_TOKEN=1234 OS_URL=http://service_url:35357/v2.0 \
  OS_IDENTITY_API_VERSION=2.0 openstack user list

The --os-auth-plugin option can be omitted; if so the CLI will attempt to
guess which plugin to use from the other options.

Change-Id: I330c20ddb8d96b3a4287c68b57c36c4a0f869669
Co-Authored-By: Florent Flament <florent.flament-ext@cloudwatt.com>
2014-10-09 12:34:47 +02:00
..
api Support for keystone auth plugins 2014-10-09 12:34:47 +02:00
common Support for keystone auth plugins 2014-10-09 12:34:47 +02:00
compute Merge "Fix security group list for non-admin" 2014-09-06 17:02:42 +00:00
identity Support for keystone auth plugins 2014-10-09 12:34:47 +02:00
image Change help text for image save command 2014-09-21 12:02:11 -04:00
network Merge "Network use enable/disable vs admin state up/down" 2014-09-08 17:29:37 +00:00
object Fix issues with object related commands 2014-10-06 20:04:19 -04:00
tests Support for keystone auth plugins 2014-10-09 12:34:47 +02:00
volume Merge "Normalize more help strings" 2014-07-24 22:09:28 +00:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Add i18n module to openstackclient 2014-08-24 18:16:15 +00:00
shell.py Support for keystone auth plugins 2014-10-09 12:34:47 +02:00