Creating a Policy in Oracle Cloud
- Print
- PDF
Creating a Policy in Oracle Cloud
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Britive needs to manage privileges on users and groups in the onboarded Oracle Cloud account. Hence, you need to define policies in the Oracle Cloud account.
Perform the following steps to create a policy in Oracle Cloud:
- Login to the Oracle cloud console with administrator privileges.
- Click Identity & Security from the navigation menu.
- Select Policies from the Identity section.
- Click Create Policy.
- Enter the following on the Create Policy page:
- Enter Name and Description.
- Select the root compartment.
- Select Show manual editor to add your own policy statements in the Policy Builder.
- Add the policy statements in the Policy Builder. For example, if the group name you have created for the users is BritiveGroup, you can add the policy statements in the following format:Text
Note that the format of the policy statements should match the following format:Allow group BritiveGroup to use users in tenancy Allow group BritiveGroup to use groups in tenancy Allow group BritiveGroup to inspect policies in tenancy Allow group BritiveGroup to inspect domains in tenancy
TextAllow group [groupname] to [verb] [resource-type] in [compartment_name] where [condition]
NoteThere should not be a space after each policy statement or any other syntax errors; else an error is displayed. - Click Create. The new policy is created.
For more information about creating policy in OCI, see Creating a Policy.
Was this article helpful?