summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorColleen Murphy <colleen@gazlene.net>2018-01-21 20:02:02 +0100
committerColleen Murphy <colleen@gazlene.net>2018-01-30 21:50:01 +0100
commit375964f270e125b8887e0ca4ee1cbe15d5eddf04 (patch)
tree65a6bf1e522ddee00f3c30f1ebccdf80f030fd18 /setup.cfg
parent1e30be92d8b30e834b161c2246a499775d6ec6bc (diff)
downloadpython-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 'setup.cfg')
-rw-r--r--setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 63bfdafb..6d348fbb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -202,6 +202,11 @@ openstack.identity.v2 =
openstack.identity.v3 =
access_token_create = openstackclient.identity.v3.token:CreateAccessToken
+ application_credential_create = openstackclient.identity.v3.application_credential:CreateApplicationCredential
+ application_credential_delete = openstackclient.identity.v3.application_credential:DeleteApplicationCredential
+ application_credential_list = openstackclient.identity.v3.application_credential:ListApplicationCredential
+ application_credential_show = openstackclient.identity.v3.application_credential:ShowApplicationCredential
+
catalog_list = openstackclient.identity.v3.catalog:ListCatalog
catalog_show = openstackclient.identity.v3.catalog:ShowCatalog