Creating an Identity Domain
To create an identity domain in IAM, administrators need to know which identity domain type they want to create, in which compartment to create it, and the new identity domain administrator's sign-in credentials, if needed. The domain types that you're allowed to create are based on your subscription.
The default groups created in a new identity domain are All Domain Users, and Domain Administrators. During identity domain creation, if you create an administrative user for the identity domain, that administrator is placed in the Domain Administrators group. The Domain Administrators group can't be deleted and there must be at least one user in the group. Administrators can hide any identity domain that they create from the sign-in page.
When you create an identity domain, the selected region in the Console becomes the identity domain's home region. For example, if the selected region in the Console is Germany Central (Frankfurt) and you create an identity domain, the identity domain is created in the Frankfurt region as the home region.
Unlike the Default identity domain, additional identity domains aren't automatically replicated to all subscribed regions. If users in these identity domains need to interact with OCI resources in other regions, ensure that you enable replication for those domains.
Ensure that the identity domain status is Creating. Use the oci iam domain create command and required parameters to create an identity domain:
oci iam domain create --compartment-id compartment_ocid --description description --display-name display_name --home-region home_region --license-type license_type [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateDomain operation to create an identity domain.