You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 weeks ago | |
---|---|---|
doc | 1 month ago | |
examples/pki | 2 years ago | |
keystoneclient | 3 weeks ago | |
playbooks | 4 years ago | |
releasenotes | 2 weeks ago | |
.coveragerc | 6 years ago | |
.gitignore | 4 years ago | |
.gitreview | 3 years ago | |
.mailmap | 8 years ago | |
.stestr.conf | 4 years ago | |
.zuul.yaml | 2 weeks ago | |
CONTRIBUTING.rst | 5 years ago | |
HACKING.rst | 5 years ago | |
LICENSE | 11 years ago | |
README.rst | 3 years ago | |
bindep.txt | 3 months ago | |
requirements.txt | 3 weeks ago | |
setup.cfg | 2 weeks ago | |
setup.py | 2 years ago | |
test-requirements.txt | 2 years ago | |
tox.ini | 2 weeks ago |
README.rst
Team and repository tags
Python bindings to the OpenStack Identity API (Keystone)
This is a client for the OpenStack Identity API, implemented by the Keystone team; it contains a Python API (the keystoneclient
module) for OpenStack's Identity Service. For command line interface support, use OpenStackClient.
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Blueprints - feature specifications
- Bugs - issue tracking
- Source
- Specs
- How to Contribute
- Release Notes
Contents:
Python API
By way of a quick-start:
>>> from keystoneauth1.identity import v3
>>> from keystoneauth1 import session
>>> from keystoneclient.v3 import client
>>> auth = v3.Password(auth_url="http://example.com:5000/v3", username="admin",
... password="password", project_name="admin",
... user_domain_id="default", project_domain_id="default")
>>> sess = session.Session(auth=auth)
>>> keystone = client.Client(session=sess)
>>> keystone.projects.list()
[...]
>>> project = keystone.projects.create(name="test", description="My new Project!", domain="default", enabled=True)
>>> project.delete()