OpenStack Identity (Keystone) Client
Python Shell
Latest commit b29f478 Aug 31, 2017 @lukehinds lukehinds committed with ghugo Adds bandit nosec flag to hashlib.sha1
A bandit patch to block sha1 hash is failing CI [1], due to a false
positive on hashlib.sha1 (which actually uses HMAC-SHA1 in keystone
that is considered more secure then standard SHA1)

This change marks a # nosec comment against the line which is
triggering the false positive in Bandit.


Change-Id: Ib9618119c77f41fba0e612e37c7511676bed47e8
Failed to load latest commit information.
doc Update URLs in documents according to document migration Jul 14, 2017
examples/pki Remove keystoneclient.middleware Dec 11, 2015
keystoneclient Adds bandit nosec flag to hashlib.sha1 Aug 31, 2017
releasenotes Merge "Update reno for stable/pike" Jul 31, 2017
tools Add Constraints support Dec 21, 2016
.coveragerc Updated coverage configuration file Oct 19, 2016
.gitignore Add release notes for keystoneclient Nov 30, 2015
.gitreview Added in common test, venv and gitreview stuff. Dec 22, 2011
.mailmap Add mailmap entry May 7, 2014
.testr.conf Create functional test base Feb 13, 2015
HACKING.rst Update URLs in documents according to document migration Jul 14, 2017
LICENSE Initial commit. Oct 25, 2011
README.rst Update URLs in documents according to document migration Jul 14, 2017
babel.cfg enabling i18n with Babel Sep 29, 2012
bindep.txt Use https for * references Feb 6, 2017
requirements.txt Remove use of positional decorator Aug 7, 2017
test-requirements.txt Updated from global requirements Aug 18, 2017
tox.ini Merge "remove hacking checks from keystoneclient" Jan 6, 2017


Team and repository tags

Python bindings to the OpenStack Identity API (Keystone)

Latest Version Downloads

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.


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="", 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()