Create an IAM Policy
Create a policy to grant permissions to users in a domain group to work with Oracle Integration instances within a specified tenancy or compartment.
- Open the navigation menu and click Identity & Security. Under Identity, click Policies.
- Click Create Policy.
- In the Create Policy window, enter a name (for example,
IntegrationGroupPolicy) and a description. - In
the Policy Builder, select Show manual
editor and enter the required policy statements.
Syntax:
-
allow groupdomain-name/group_nametoverb resource-typein compartmentcompartment-name -
allow groupdomain-name/group_nametoverb resource-typein tenancy
Example:
allow group admin/oci-integration-admins to manage integration-instance in compartment OICCompartmentThis policy statement allows the
oci-integration-adminsgroup in theadmindomain tomanageinstanceintegration-instancein compartmentOICCompartment.Notes:
- If you omit the domain name, the default domain is assumed.
-
When defining policy statements, you can specify either verbs (as used in these steps) or permissions (typically used by power users).
- You can create separate groups for different permissions, such as a
group with
readpermission only. -
The
readandmanageverbs are most applicable to Oracle Integration. Themanageverb has the most permissions (create,delete,edit,move, andview).Verb Access readIncludes permission to view Oracle Integration instances and their details.
manageIncludes all permissions for Oracle Integration instances.
To learn more about policies, see:
- How Policies Work and Policy Reference in the Oracle Cloud Infrastructure documentation
-
- Click Create. The policy statements are validated and syntax errors are displayed.