Creating a User
When you create a user, the user is automatically created in the tenancy. You can't specify a different compartment for the user.
-
In the Compute Web UI navigation menu, select Identity, then select Users.
Above the user list, select the Create User button.
-
In the Create User dialog box, enter the following information:
-
Name: A name for this user account. User names have the following characteristics:
Must be unique within the tenancy. You can create a user with the same name as a user that has been deleted.
Are case insensitive.
Cannot be changed later.
Must be at least two and no more than 100 characters.
Can contain only alphanumeric characters, period (.), hyphen (-), underscore (_), plus sign (+), and at sign (@).
-
Description: A description for this user, such as the full name of the person or a brief description of the account. The description is 1-400 characters.
-
Email Address: (Optional) The email address for the user. The email address can be added or changed later.
-
Password: (Optional) To enable this user to log in to the Compute Web UI, check the box labeled "Generate a temporary password for this user."
-
Tagging: (Optional) Add defined or free-form tags for this user account as described in Adding Tags at Resource Creation. Tags can be added or changed later.
-
-
Select the Create User button in the dialog box.
If you checked the box labeled "Generate a temporary password for this user," a Temporary Password for New User dialog pops up, showing the temporary password. You cannot retrieve this password again after you close this dialog. Copy the temporary password, save the password to a safe place for delivery to the user, and select the "I have made a note of the password" button.
The details page of the new user is displayed.
Next steps:
-
Provide the user with a temporary password so that the user can set their own permanent Compute Web UI password.
If you checked the box labeled "Generate a temporary password for this user," provide the temporary password that you copied from the Temporary Password for New User dialog.
If you did not check the box labeled "Generate a temporary password for this user," or did not save that password, follow the instructions in "Providing a Temporary Compute Web UI Password" to generate a temporary password for the user.
Add this user to at least one group. See "Adding a User to a Group by Updating the User."
-
Use the oci iam user create command and required parameters to create a new user.
oci iam user create --description "text" --name "text" [OPTIONS]In the OCI CLI, a description must be provided but its value can be an empty string.
Optionally provide your tenancy's OCID for the compartment value. By default, the root compartment OCID from the config file is used.
See Adding Tags at Resource Creation to add defined and free-form tags.
The output of this command is the same as the output of the
user getcommand.For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Next steps:
-
Provide the user with a temporary password so that the user can set their own permanent Compute Web UI password. See "Providing a Temporary Compute Web UI Password" to generate a temporary password for the user.
-
Add this user to at least one group. See "Adding a User to a Group by Updating the User."
-
Use the CreateUser operation to create a new user.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Next steps:
-
Provide the user with a temporary password so that the user can set their own permanent Compute Web UI password. See "Providing a Temporary Compute Web UI Password" to generate a temporary password for the user.
-
Add this user to at least one group. See Adding a User to a Group by Updating the User.
-