跳转到主要内容

Horizon的通用密钥管理UI插件

项目描述

Horizon的通用密钥管理UI插件

功能

  • 待办事项

在DevStack中启用

将此存储库添加到您的local.conf文件中作为外部存储库

[[local|localrc]]
enable_plugin castellan-ui https://github.com/openstack/castellan-ui

手动安装

首先克隆Horizon和Castellan UI存储库

git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/castellan-ui

创建一个虚拟环境并安装Horizon依赖项

cd horizon
python tools/install_venv.py

设置您的local_settings.py文件

cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py

使用您首选的文本编辑器打开复制的local_settings.py文件。您需要自定义几个设置

  • OPENSTACK_HOST 应配置为您的 OpenStack 服务器的主机名。请验证 OPENSTACK_KEYSTONE_URLOPENSTACK_KEYSTONE_DEFAULT_ROLE 设置是否适用于您的环境。(除非您修改了 OpenStack 服务器以更改它们,否则它们应该是正确的。)

在您的虚拟环境中安装 Castellan UI 及其所有依赖项

tools/with_venv.sh pip install -e ../castellan-ui/

并在 Horizon 中启用它

ln -s ../castellan-ui/castellan_ui/enabled/_90_project_key_manager_panelgroup.py openstack_dashboard/local/enabled
ln -s ../castellan-ui/castellan_ui/enabled/_91_project_key_manager_x509_certificates_panel.py openstack_dashboard/local/enabled
ln -s ../castellan-ui/castellan_ui/enabled/_92_project_key_manager_private_key_panel.py openstack_dashboard/local/enabled
ln -s ../castellan-ui/castellan_ui/enabled/_93_project_key_manager_public_key_panel.py openstack_dashboard/local/enabled
ln -s ../castellan-ui/castellan_ui/enabled/_94_project_key_manager_symmetric_key_panel.py openstack_dashboard/local/enabled
ln -s ../castellan-ui/castellan_ui/enabled/_95_project_key_manager_opaque_data_panel.py openstack_dashboard/local/enabled
ln -s ../castellan-ui/castellan_ui/enabled/_96_project_key_manager_passphrase_panel.py openstack_dashboard/local/enabled

要运行带有新启用的 Castellan UI 插件的 horizon,请运行

./run_tests.sh --runserver 0.0.0.0:8080

以便应用程序在端口 8080 上启动,horizon 仪表板将在您的浏览器中通过 http://localhost:8080/ 可用

项目详情


下载文件

下载适用于您平台的自定义文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

castellan-ui-0.1.0.tar.gz (45.1 kB 查看散列)

上传时间

构建分布

castellan_ui-0.1.0-py2-none-any.whl (84.5 kB 查看散列)

上传时间 Python 2

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面