deb-python-swiftclient/swiftclient
Tim Burke a38efb6031 Add v1password keystoneauth plugin
This lets us use Keystone sessions against endpoints like swauth and
tempauth with code like:

    import keystoneauth1.loading
    import keystoneauth1.session
    import swiftclient

    loader = keystoneauth1.loading.get_plugin_loader('v1password')
    auth_plugin = loader.load_from_options(
        auth_url='http://saio:8080/auth/v1.0',
        username='test:tester',
        password='testing')
    keystone_session = keystoneauth1.session.Session(auth_plugin)

    conn = swiftclient.Connection(session=keystone_session)

The plugin includes an optional project_name option, which may be used
to override the swift account from the storage url that was returned.
Additionally, it includes enough infrastructure to support some commands
in python-openstackclient>=3.0:

    export OS_AUTH_TYPE=v1password
    export OS_AUTH_URL=http://saio:8080/auth/v1.0
    export OS_PROJECT_NAME=AUTH_test2
    export OS_USERNAME=test:tester
    export OS_PASSWORD=testing

    openstack token issue
    openstack catalog list
    openstack catalog show object-store
    openstack object store account show
    openstack container list
    openstack container create <container>
    openstack container save <container>
    openstack container show <container>
    openstack container delete <container>
    openstack object list <container>
    openstack object create <container> <file>
    openstack object save <container> <object>
    opsentack object show <container> <object>
    openstack object delete <container> <object>

Change-Id: Ia963dc44415f72a6518227e86d9528a987e07491
2016-10-24 01:52:37 +02:00
..
__init__.py Use "# noqa" instead of "#flake8: noqa" 2016-02-09 23:09:24 +08:00
authv1.py Add v1password keystoneauth plugin 2016-10-24 01:52:37 +02:00
client.py Adding keystoneauth sessions support 2016-05-19 17:27:31 -07:00
command_helpers.py Add per policy container count to account stat output 2014-09-19 17:07:48 -07:00
exceptions.py Include response headers in ClientExceptions 2016-03-03 17:16:33 +00:00
multithreading.py Add new doc structure and contents for swiftclient 2016-04-29 19:21:36 +01:00
service.py Merge "Support client certificate/key" 2016-05-19 22:20:17 +00:00
shell.py Merge "Support client certificate/key" 2016-05-19 22:20:17 +00:00
utils.py Use bulk-delete middleware when available 2016-01-12 15:40:57 -08:00
version.py Fix some typos 2015-12-30 11:01:33 -08:00