Chapter 7. Managing domains
Identity Service (keystone) domains are additional namespaces that you can create in keystone. Use keystone domains to partition users, groups, and projects. You can also configure these separate domains to authenticate users in different LDAP or Active Directory environments. For more information, see the Integrate with Identity Service guide.
Identity Service includes a built-in domain called Default. It is suggested you reserve this domain only for service accounts, and create a separate domain for user accounts.
7.1. Viewing a list of domains Copy linkLink copied to clipboard!
You can view a list of domains with the openstack domain list command:
7.2. Creating a new domain Copy linkLink copied to clipboard!
You can create a new domain with the openstack domain create command:
7.3. Viewing the details of a domain Copy linkLink copied to clipboard!
You can view the details of a domain with the openstack domain show command:
7.4. Disabling a domain Copy linkLink copied to clipboard!
You can disable and enable domains according to your requirements.
Procedure
Disable a domain using the
--disableoption:openstack domain set TestDomain --disable
$ openstack domain set TestDomain --disableCopy to Clipboard Copied! Toggle word wrap Toggle overflow Confirm that the domain has been disabled:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Use the
--enableoption to re-enable the domain, if required:openstack domain set TestDomain --enable
$ openstack domain set TestDomain --enableCopy to Clipboard Copied! Toggle word wrap Toggle overflow