OpenStack Identity Authentication Library
46286b1cf9
The new 'none' auth plugin and the old 'admin_token' plugin are subclasses of BaseAuthPluign, not BaseIdentityPlugin. That means if someone does: s = session.Session(noauth.NoAuth()) a = adapter.Adapter(s, endpoint_override='https://example.com') to get an Adapter on an endpoint using the none plugin, then does either: a.get_api_major_version() or: a.get_endpoint_data() it will fail because the none plugin doesn't have those methods. There is, however, nothing about those methods that necessarily needs authentication. That is, they can work just fine in contexts without a keystone token or without authentication of any sort. Ironic/Bifrost is specifically a usecase here, as standalone Ironic wants to use the 'none' plugin, but consuming the API still needs to get microversion info from the given endpoint. Add methods to BaseAuthPlugin that take less arguments since the ones about finding services in catalogs make zero sense in none/admin_token context. Change-Id: Id9bd19cca68206fc64d23b0eaa95aa3e5b01b676 |
||
---|---|---|
doc | ||
keystoneauth1 | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Team and repository tags
keystoneauth
This package contains tools for authenticating to an OpenStack-based cloud. These tools include:
- Authentication plugins (password, token, and federation based)
- Discovery mechanisms to determine API version support
- A session that is used to maintain client settings across requests (based on the requests Python library)
Further information:
- Free software: Apache license
- Documentation: https://docs.openstack.org/keystoneauth/latest/
- Source: https://git.openstack.org/cgit/openstack/keystoneauth
- Bugs: https://bugs.launchpad.net/keystoneauth