++ openstack domain create --or-show --enable -f value -c id '--description=Service Domain for RegionOne/heat' heat + SERVICE_OS_DOMAIN_ID=d457b32a489247b586a2a31d309a657a + openstack domain show d457b32a489247b586a2a31d309a657a +-------------+-----------------------------------+ | Field | Value | +-------------+-----------------------------------+ | description | Service Domain for RegionOne/heat | | enabled | True | | id | d457b32a489247b586a2a31d309a657a | | name | heat | | options | {} | | tags | [] | +-------------+-----------------------------------+ ++ openstack user create --or-show --enable -f value -c id --domain=d457b32a489247b586a2a31d309a657a --description 'Service User for RegionOne/heat' --password=XOc1JLM2oJmYupReutnfuLuab1Z6SLpq heat-stack-user-RegionOne + SERVICE_OS_USERID=a484be9b33354186b0468f6d2f5fc1c3 + openstack user set --password=XOc1JLM2oJmYupReutnfuLuab1Z6SLpq a484be9b33354186b0468f6d2f5fc1c3 + openstack user show a484be9b33354186b0468f6d2f5fc1c3 +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | None | | domain_id | d457b32a489247b586a2a31d309a657a | | email | None | | enabled | True | | id | a484be9b33354186b0468f6d2f5fc1c3 | | name | heat-stack-user-RegionOne | | description | Service User for RegionOne/heat | | password_expires_at | None | +---------------------+----------------------------------+ ++ openstack role show -f value -c id admin + SERVICE_OS_ROLE_ID=aacbb70dcda2416cbb5f7be2c744fe45 + openstack role add --domain=d457b32a489247b586a2a31d309a657a --user=a484be9b33354186b0468f6d2f5fc1c3 --user-domain=d457b32a489247b586a2a31d309a657a aacbb70dcda2416cbb5f7be2c744fe45 + openstack role assignment list --role=aacbb70dcda2416cbb5f7be2c744fe45 --user-domain=d457b32a489247b586a2a31d309a657a --user=a484be9b33354186b0468f6d2f5fc1c3 +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | Role | User | Group | Project | Domain | System | Inherited | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | aacbb70dcda2416cbb5f7be2c744fe45 | a484be9b33354186b0468f6d2f5fc1c3 | | | d457b32a489247b586a2a31d309a657a | | False | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+