Tim Burke 257a7185a8 Application credential support follow-up
Following the recent v3applicationcredentials patch, if you have your
environment variables set up to work with python-openstackclient using
swiftclient's v1password plugin, swiftclient won't work:

   $ env | egrep '^(OS|ST)_'
   ST_KEY=testing
   ST_USER=test:tester
   OS_AUTH_URL=http://saio/auth/v1.0
   ST_AUTH=http://saio/auth/v1.0
   OS_USERNAME=test:tester
   OS_AUTH_TYPE=v1password
   OS_PASSWORD=testing

   $ openstack object store account show
   +------------+----------------------------+
   | Field      | Value                      |
   +------------+----------------------------+
   | Account    | AUTH_test                  |
   | Bytes      | 0                          |
   | Containers | 11                         |
   | Objects    | 0                          |
   +------------+----------------------------+

   $ swift stat
   Only "v3applicationcredential" is supported for --os-auth-type

We don't really want to allow (and mostly ignore) arbitrary OS_AUTH_TYPE
values, though -- there are a whole bunch of plugins we don't remotely
support. But it seems OK to allow any of the password plugins; while we
won't actually use them (currently), we provide roughly equivalent
functionality.

Handful of other drive-bys:
 * Use a None sentinel to determine whether keystoneauth1 is installed
   instead of trying to catch a NameError.
 * Clarify error state when keystoneauth1 is not installed.
 * Fix a typo: "sses" -> "sess".

Change-Id: Id7ea9c3ea8278ae86a04d057a472a8f8a87b8eae
Related-Change: I9190e5e7e24b6a741970fa0d0ac792deccf73d25
2020-05-27 15:17:09 -07:00
2014-03-25 11:36:39 +00:00
2020-04-19 09:57:27 +02:00
2018-07-13 11:24:24 -07:00
2018-11-05 09:52:03 +07:00
2019-04-19 19:32:30 +00:00
2019-03-01 08:32:50 -08:00
2020-02-12 17:34:25 -08:00
2018-01-30 00:28:17 +00:00
2020-02-12 17:34:25 -08:00
2018-01-30 00:28:17 +00:00
2012-05-08 16:30:13 +01:00
2020-04-19 09:57:27 +02:00
2013-05-01 12:23:12 -04:00
2018-07-11 13:09:00 -07:00
2012-05-21 12:52:55 +02:00
2020-04-20 10:10:46 -07:00
2018-07-11 13:09:00 -07:00
2020-04-08 12:48:36 -07:00
2020-04-24 10:25:58 -05:00

Team and repository tags

image

Python bindings to the OpenStack Object Storage API

Latest Version

This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki.

This code is based on the original client previously included with OpenStack's Swift The python-swiftclient is licensed under the Apache License like the rest of OpenStack.

Contents:

Description
OpenStack Storage (Swift) Client
Readme 14 MiB
Languages
Python 99.9%
Shell 0.1%