LAB 3 ::‐ Create policy. - guptasanjeev-52/oci_docs GitHub Wiki
What is policy and How to Create A Policy ?
A policy in OCI is a document that defines permissions and controls users access to cloud resources.Policy is a way to manage Your services Nicely.
Now we will Learn how to create a policy...
Firstly (sign) in to the (OCI console) > Click on Navigation Menu (On Rightside of Screen) > scroll Down and Open (Identity & Security) > click on (POLICIES).
Click CREATE POLICY on Policies Page...
Creating the Inspect-policy to the hub-group for the hub_compartment.
Give **Name **and Description and select hub_compartment from Compartment list
Click on policy builder and click on show Manual Editor and write the policy and Click on** CREATE**
Creating the Read-policy to the hub-group for the hub_compartment.
Give **Name **and Description and select hub_compartment from Compartment list
Creating the Use-policy to the hub-group for the hub_compartment.
Give **Name **and Description and select hub_compute_storage_compartment from Compartment list
Creating the Manage-policy to the hub-group for the hub_compartment.
Give **Name **and Description and select hub_network_compartment from Compartment list