summaryrefslogtreecommitdiff
path: root/openstack_dashboard/enabled
diff options
context:
space:
mode:
authorColleen Murphy <colleen@gazlene.net>2018-03-11 22:38:28 +0100
committerColleen Murphy <colleen.murphy@suse.de>2018-04-26 09:32:00 +0200
commit2d69444badeedb59c1496fd77831b795f22469ff (patch)
treebf6c34a5362c58e42c4818e8066591f75a00c78b /openstack_dashboard/enabled
parent656490fee2bf247036e2b31fb1322ecacbe53dc0 (diff)
downloadhorizon-2d69444badeedb59c1496fd77831b795f22469ff.tar.gz
Add support for application credentials
This patch adds support for creating application credentials in keystone[1]. Application credentials can be created by any user for themselves. An application credential is created for the currently selected project. A user may provide their own secret for the application credential, or may allow keystone to generate a secret for them. After the application credential is created, the secret is revealed once to the user. At that point they may download a clouds.yaml or openrc file that contains the application credential secret and will enable them to use it to authenticate. The secret is not revealed again. [1] https://docs.openstack.org/keystone/latest/user/application_credentials.html bp application-credentials Depends-On: https://review.openstack.org/557927 Depends-On: https://review.openstack.org/557932 Change-Id: Ida2e836cf81d2b96e0b66afed29a900c312223a4
Diffstat (limited to 'openstack_dashboard/enabled')
-rw-r--r--openstack_dashboard/enabled/_3090_identity_application_credentials_panel.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/openstack_dashboard/enabled/_3090_identity_application_credentials_panel.py b/openstack_dashboard/enabled/_3090_identity_application_credentials_panel.py
new file mode 100644
index 000000000..1bd15e42e
--- /dev/null
+++ b/openstack_dashboard/enabled/_3090_identity_application_credentials_panel.py
@@ -0,0 +1,10 @@
+# The slug of the panel to be added to HORIZON_CONFIG. Required.
+PANEL = 'application_credentials'
+# The slug of the dashboard the PANEL associated with. Required.
+PANEL_DASHBOARD = 'identity'
+# The slug of the panel group the PANEL is associated with.
+PANEL_GROUP = 'default'
+
+# Python panel class of the PANEL to be added.
+ADD_PANEL = ('openstack_dashboard.dashboards.identity.application_credentials'
+ '.panel.ApplicationCredentialsPanel')