Editing a Policy

Edit the description for an IAM policy.

Note

If you use the name of a group, dynamic group, or compartment in a policy, the policy is mapped to the OCID of the group, dynamic group, or compartment when the policy is created. If the OCID of the group, dynamic group, or compartment changes, you must recompile one of the policies that applies to the group or compartment to update the OCID in all the policies.

To recompile the policy, open a policy, and make a small edit. Save the policy.

  1. On the Policies list page, select the name of the policy that you want to edit. If you need help finding the list page, see Listing Polices.
  2. Select the name of the policy to view its details page.
  3. In the Policy Details page, select Edit Policy.
  4. In the Edit Policy Details dialog window, update the description.
  5. Select Save.