++ openstack domain create --or-show --enable -f value -c id '--description=Service Domain for RegionOne/heat' heat + SERVICE_OS_DOMAIN_ID=a8037b0f034748bc8b5f63ccd342342a + openstack domain show a8037b0f034748bc8b5f63ccd342342a +-------------+-----------------------------------+ | Field | Value | +-------------+-----------------------------------+ | description | Service Domain for RegionOne/heat | | enabled | True | | id | a8037b0f034748bc8b5f63ccd342342a | | name | heat | | options | {} | | tags | [] | +-------------+-----------------------------------+ ++ openstack user create --or-show --enable -f value -c id --domain=a8037b0f034748bc8b5f63ccd342342a --description 'Service User for RegionOne/heat' --password=JxvLPNhpdArk6IacJsrLrwuGxDaKFDMp heat-stack-user-RegionOne + SERVICE_OS_USERID=237513bc2ccf4388897280ca43bb991f + openstack user set --password=JxvLPNhpdArk6IacJsrLrwuGxDaKFDMp 237513bc2ccf4388897280ca43bb991f + openstack user show 237513bc2ccf4388897280ca43bb991f +---------------------+----------------------------------+ | Field | Value | +---------------------+----------------------------------+ | default_project_id | None | | domain_id | a8037b0f034748bc8b5f63ccd342342a | | email | None | | enabled | True | | id | 237513bc2ccf4388897280ca43bb991f | | 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=12bdabc8a80543ce8261a459d690807d + openstack role add --domain=a8037b0f034748bc8b5f63ccd342342a --user=237513bc2ccf4388897280ca43bb991f --user-domain=a8037b0f034748bc8b5f63ccd342342a 12bdabc8a80543ce8261a459d690807d + openstack role assignment list --role=12bdabc8a80543ce8261a459d690807d --user-domain=a8037b0f034748bc8b5f63ccd342342a --user=237513bc2ccf4388897280ca43bb991f +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | Role | User | Group | Project | Domain | System | Inherited | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+ | 12bdabc8a80543ce8261a459d690807d | 237513bc2ccf4388897280ca43bb991f | | | a8037b0f034748bc8b5f63ccd342342a | | False | +----------------------------------+----------------------------------+-------+---------+----------------------------------+--------+-----------+