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)
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
Notes
Notes (review): Code-Review+2: Dean Troyer <dtroyer@gmail.com> Code-Review+2: Steve Martinelli <s.martinelli@gmail.com> Workflow+1: Steve Martinelli <s.martinelli@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 14 Mar 2018 02:16:35 +0000 Reviewed-on: https://review.openstack.org/536163 Project: openstack/python-openstackclient Branch: refs/heads/master
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 63bfdaf..6d348fb 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -202,6 +202,11 @@ openstack.identity.v2 =
202openstack.identity.v3 = 202openstack.identity.v3 =
203 access_token_create = openstackclient.identity.v3.token:CreateAccessToken 203 access_token_create = openstackclient.identity.v3.token:CreateAccessToken
204 204
205 application_credential_create = openstackclient.identity.v3.application_credential:CreateApplicationCredential
206 application_credential_delete = openstackclient.identity.v3.application_credential:DeleteApplicationCredential
207 application_credential_list = openstackclient.identity.v3.application_credential:ListApplicationCredential
208 application_credential_show = openstackclient.identity.v3.application_credential:ShowApplicationCredential
209
205 catalog_list = openstackclient.identity.v3.catalog:ListCatalog 210 catalog_list = openstackclient.identity.v3.catalog:ListCatalog
206 catalog_show = openstackclient.identity.v3.catalog:ShowCatalog 211 catalog_show = openstackclient.identity.v3.catalog:ShowCatalog
207 212