diff options
| author | Colleen Murphy <colleen@gazlene.net> | 2018-01-21 20:02:02 +0100 |
|---|---|---|
| committer | Colleen Murphy <colleen@gazlene.net> | 2018-01-30 21:50:01 +0100 |
| commit | 375964f270e125b8887e0ca4ee1cbe15d5eddf04 (patch) | |
| tree | 65a6bf1e522ddee00f3c30f1ebccdf80f030fd18 /openstackclient/api/api.py | |
| parent | 1e30be92d8b30e834b161c2246a499775d6ec6bc (diff) | |
| download | python-openstackclient-375964f270e125b8887e0ca4ee1cbe15d5eddf04.tar.gz | |
Add CRUD support for application credentials
Add support for creating, retrieving, and deleting application
credentials. Application credentials do not support updates.
In order to provide a positive user experience for the `--role` option,
this patch also includes an improvement to the
`identity.common._get_token_resource()` function that allows it to
introspect the roles list within a token. This way there is no need to
make a request to keystone to retrieve a role object, which would fail
most of the time anyway due to keystone's default policy prohibiting
unprivileged users from retrieving roles.
bp application-credentials
Change-Id: I29e03b72acd931305cbdac5a9ff666854d05c6d7
Diffstat (limited to 'openstackclient/api/api.py')
0 files changed, 0 insertions, 0 deletions
