{"id":21357756,"url":"https://github.com/rcbops/python-keystoneclient-buildpackage","last_synced_at":"2025-03-16T06:15:18.228Z","repository":{"id":142014411,"uuid":"3432340","full_name":"rcbops/python-keystoneclient-buildpackage","owner":"rcbops","description":"git-buildpackage repo for python-keystoneclient","archived":false,"fork":false,"pushed_at":"2012-03-17T23:22:30.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"upstream","last_synced_at":"2025-01-22T18:30:31.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rcbops.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-13T17:39:26.000Z","updated_at":"2017-05-22T04:46:43.000Z","dependencies_parsed_at":"2023-03-12T09:21:55.373Z","dependency_job_id":null,"html_url":"https://github.com/rcbops/python-keystoneclient-buildpackage","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcbops%2Fpython-keystoneclient-buildpackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcbops%2Fpython-keystoneclient-buildpackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcbops%2Fpython-keystoneclient-buildpackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcbops%2Fpython-keystoneclient-buildpackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcbops","download_url":"https://codeload.github.com/rcbops/python-keystoneclient-buildpackage/tar.gz/refs/heads/upstream","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830955,"owners_count":20354856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T05:11:47.867Z","updated_at":"2025-03-16T06:15:18.201Z","avatar_url":"https://github.com/rcbops.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python bindings to the OpenStack Keystone API\n=============================================\n\nThis is a client for the OpenStack Keystone API. There's a Python API (the\n``keystoneclient`` module), and a command-line script (``keystone``). The\nKeystone 2.0 API is still a moving target, so this module will remain in\n\"Beta\" status until the API is finalized and fully implemented.\n\nDevelopment takes place on GitHub__. Bug reports and patches may be filed there.\n\n__ https://github.com/4P/python-keystoneclient\n\nThis code a fork of `Rackspace's python-novaclient`__ which is in turn a fork of\n`Jacobian's python-cloudservers`__. The python-keystoneclient is licensed under\nthe Apache License like the rest of OpenStack.\n\n__ http://github.com/rackspace/python-novaclient\n__ http://github.com/jacobian/python-cloudservers\n\n.. contents:: Contents:\n   :local:\n\nPython API\n----------\n\nBy way of a quick-start::\n\n    # use v2.0 auth with http://example.com:5000/v2.0\")\n    \u003e\u003e\u003e from keystoneclient.v2_0 import client\n    \u003e\u003e\u003e keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=KEYSTONE_URL)\n    \u003e\u003e\u003e keystone.tenants.list()\n    \u003e\u003e\u003e tenant = keystone.tenants.create(name=\"test\", descrption=\"My new tenant!\", enabled=True)\n    \u003e\u003e\u003e tenant.delete()\n\n\nCommand-line API\n----------------\n\n.. attention:: COMING SOON\n\n    The CLI is not yet implemented, but will follow the pattern laid\n    out below.\n\nInstalling this package gets you a shell command, ``keystone``, that you\ncan use to interact with Keystone's API.\n\nYou'll need to provide your OpenStack username and API key. You can do this\nwith the ``--username``, ``--apikey`` and  ``--projectid`` params, but it's\neasier to just set them as environment variables::\n\n    export OS_TENANT_NAME=project\n    export OS_USERNAME=user\n    export OS_PASSWORD=pass\n\nYou will also need to define the authentication url with ``--url`` and the\nversion of the API with ``--version``.  Or set them as an environment\nvariables as well::\n\n    export OS_AUTH_URL=http://example.com:5000/v2.0\n    export KEYSTONE_ADMIN_URL=http://example.com:35357/v2.0\n\nSince Keystone can return multiple regions in the Service Catalog, you\ncan specify the one you want with ``--region_name`` (or\n``export KEYSTONE_REGION_NAME``). It defaults to the first in the list returned.\n\nYou'll find complete documentation on the shell by running\n``keystone help``::\n\n    usage: keystone [--username user] [--password password] \n                    [--tenant_name tenant] [--auth_url URL]\n                   \u003csubcommand\u003e ...\n\n    Command-line interface to the OpenStack Keystone API.\n\n    Positional arguments:\n      \u003csubcommand\u003e\n        add-fixed-ip        Add a new fixed IP address to a servers network.\n\n\n    Optional arguments:\n      --username USER            Defaults to env[OS_USERNAME].\n      --password PASSWORD        Defaults to env[OS_PASSWORD].\n      --tenant_name TENANT_NAME  Defaults to env[OS_TENANT_NAME].\n      --tenant_id TENANT_ID      Defaults to env[OS_TENANT_ID].\n      --url AUTH_URL             Defaults to env[OS_AUTH_URL] or\n      --version VERSION          Defaults to env[KEYSTONE_VERSION] or 2.0.\n      --region_name NAME         The region name in the Keystone Service \n                                 Catalog to use after authentication. \n                                 Defaults to env[KEYSTONE_REGION_NAME] or the\n                                 first item in the list returned.\n\n    See \"keystone help COMMAND\" for help on a specific command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcbops%2Fpython-keystoneclient-buildpackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcbops%2Fpython-keystoneclient-buildpackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcbops%2Fpython-keystoneclient-buildpackage/lists"}