How to manage users/passwords in devstack?

可紊 提交于 2019-12-02 01:01:25

The information is kept in the Keystone MySQL database. Do not edit the DB directly!

You'll want to manage users via the Keystone CLI. To do this you need to source your DevStack admin creds properly.

cd devstack
source openrc admin admin
echo $OS_USERNAME
echo $OS_TENANT_NAME
echo $OS_PASSWORD

I put the echo commands there to show you how to discover your creds.

To use the Keystone CLI checkout the docs Creating Tenants, Users, Roles, Tokens and Endpoints and Manage projects, users, and roles.

If you want to work with the CLIs as a non-admin user just do

cd devstack
source openrc
echo $OS_USERNAME
echo $OS_TENANT_NAME
echo $OS_PASSWORD
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!