Before You Begin
This 10-minute tutorial shows you how to create an Oracle Cloud user and assign the user to roles for Oracle Java Cloud Service.
Background
Oracle Identity Cloud Service defines application roles for each of the cloud services in your Oracle Cloud account. You can associate users and groups to these application roles so that they can perform tasks like creating, starting, and patching service instances.
What Do You Need?
- An Oracle Cloud account with active subscriptions to Java Cloud Service and Identity Cloud Service
- Credentials for an Oracle Cloud user that has been granted the Identity Domain Administrator role.
Note: If you are the owner of the Oracle Cloud account, your credentials can already be used to access Java Cloud Service. In this case, you can skip this tutorial and begin the next one, if desired.
Note: This tutorial is applicable only to cloud accounts that include Identity Cloud Service.
Create a User
- Sign in to Oracle Cloud as an Identity Domain Administrator.
- From the top of the My Services Dashboard, click Users.
- From the top of the User Management page, click Identity Console.
- From the Users page of the Identity Cloud Service console, click Add.
Description of the illustration add_user.png - Configure the new user:
- First Name: Enter a first name. This tutorial uses the name
Java
. - Last Name: Enter a last name. This tutorial uses the name
Admin
. - User Name / Email: Enter an email address that is not already in use in this account.
- Use the email address as the user name: Yes
- First Name: Enter a first name. This tutorial uses the name
- Click Next, and then click Finish.
Tip: You can also use groups as an alternative to configuring individual users.
- Verify that the specified email address received an Oracle Cloud welcome message. Click the link in this message and, when prompted, enter a password for the new user.
- Click the user name or icon at the top right corner of the page, and then select Sign Out.
Description of the illustration sign_out.png
Assign Java Roles
- Go to Oracle Cloud and sign in as the Identity Domain Administrator again.
- From the top of the My Services Dashboard, click Users.
- From the top of the User Management page, click Identity Console.
- From the Identity Cloud Service console, click the Navigation Drawer
at the top left corner of the page, and then select Applications.
Description of the illustration applications_menu.png - From the Applications page, click the application whose name begins with JAASApp.
Tip: If your account has many applications, you can type this text into the search field.
- Click Application Roles.
- To the right of the JaaS_Administrator role, click Menu
, and then select Assign Users.
- Select the check box for your new user, Java Admin.
Tip: If your account has many users, you can type this name into the search field.
- Click Assign.
Description of the illustration assign_user.png - Click Applications from either the navigation drawer or the link at the top of the page.
Assign Database Roles (optional)
A database must exist prior to creating a service instance. Oracle Java Cloud Service supports Oracle Database Cloud Service, Oracle Cloud Infrastructure Database, and Oracle Autonomous Transaction Processing.
If your new user is also responsible for creating database deployments in Oracle Database Cloud Service, then assign an additional role. For Oracle Cloud Infrastructure Database and Oracle Autonomous Transaction Processing, you must create policies in Oracle Cloud Infrastructure.
- From the Applications page, click the application whose name begins with DBAASApp.
- Click Application Roles.
- To the right of the DBaaS_Administrator role, click Menu
, and then select Assign Users.
- Select the check box for your new user, Java Admin.
- Click Assign.
- Click Applications from either the navigation drawer or the link at the top of the page.
Test the User
- Sign Out of Oracle Cloud.
- Go to Oracle Cloud and sign in as your new user, Java Admin.
- If the My Home page displays, click the Navigation menu
at the top left corner of the page, and then select Dashboard.
- From the My Services Dashboard, click the Navigation menu
at the top left corner of the page, expand Services, and then select Java.
Description of the illustration dashboard_java_menu.png The Java Cloud Service console displays.
Next Tutorial
Creating an Oracle Java Cloud Service Instance with Identity Cloud Service