OpenStack: User

CLI

# change user password
openstack user set --password pass123 user1
 
# list user (for domain)
openstack --os-cloud=dev-admin user list --domain my_dom_1
 
openstack user list
openstack user show USER_ID
openstack domain show DOMAIN_ID
openstack project list --user USER_ID

Role

# list
openstack role assignment list --names --user ${USER_ID}
 
# add
openstack role add --user ${USER_ID} --project ${PROJECT_ID} creator
 
# remove
openstack role remove --user ${USER_ID} --project ${PROJECT_ID} admin