This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.
If you are unsure how to set up the required policies, see Setting Up Required IAM Policy which shows you how WebLogic Management can set up the required policies for you.
User groups, dynamic groups and IAM policies specify which users and services can access certain OCI resources. You must identify which WebLogic Management resources the service can manage and which users can manage those resources. To do this, define user groups, dynamic groups, and then set up the required IAM policy.
Policy statements use the default identity domain unless you define the identity domain before the group or dynamic group name (for example, <identity_domain_name>/<dynamic_group_name>). For more information, see Policy Syntax.
Create Policy Statements 🔗
You can set the IAM policy for WebLogic Management either at the tenancy or compartment level.
Prerequisites
Before creating the policy, ensure you have the following:
dynamic group (<wlms_dynamic_group> in the examples)
Policy statements
To apply the required IAM policy, obtain the required policy templates and then modify them with the necessary information.
Open the navigation menu and click Observability & Management. Under WebLogic Management, click Overview.
Click Set up policy.
In the Policy statements section, click Copy policy statements and then click Cancel.
Note
To use the APIs to retrieve the required policy templates for WebLogic Management, run the ListRequiredPolicies operation.
Modify the policy template statements as necessary, for example:
Copy
Template statement:
Allow group $USER_GROUP to manage instance-family in compartment id $COMPARTMENT_ID
Modified:
Allow group admin_user_group to manage wlms-family in compartment id <unique_OCID>
Template statement:
Allow dynamic-group $DYNAMIC_GROUP to use wlms-managed-instance-plugins in tenancy
Modified:
Allow dynamic-group wlms_dynamic_group to use wlms-managed-instance-plugins in tenancy
Open the navigation menu, click Identity and then click Policies.
Using the policy template statements you modified, create a policy. If you need help, see Creating a policy.