Oracle Cloud Infrastructure (OCI) IAM Users

To enable restore of workloads to Oracle Cloud Infrastructure, add the user whose credentials you plan to use to connect to OCI to an IAM group. Then create a policy with the following statements and attach it to the group:

--statements '[

    Allow group <group> to manage instance-family in compartment <target_compartment>
    Allow group <group> to manage volume-family in compartment <target_compartment>
    Allow group <group> to use virtual-network-family in compartment <target_compartment>
    Allow group <group> to manage network-security-groups in compartment <target_compartment>
    Allow group <group> to manage instance-family in compartment <appliance_compartment>
    Allow group <group> to use volume-family in compartment <appliance_compartment>
    Allow group <group> to manage network-security-groups in compartment <appliance_compartment>
    Allow group <group> to use virtual-network-family in compartment <network_compartment>
    Allow group <group> to manage vcns in compartment <network_compartment>
    Allow group <group> to inspect compartments in tenancy
    Allow group <group> to inspect tenancies in tenancy

]'

In the statements, specify the following:

  • group — the IAM group to which the user belongs.
  • target_compartment — the compartment to which you restore workloads.
  • appliance_compartment — the compartment in which the helper appliance template image is built and stored. During restore, the helper appliance is launched in the target compartment.
  • network_compartment — the compartment that contains the networks.

For more information on policy statements, see the Policy Syntax section in the Oracle Cloud Infrastructure documentation.

Page updated 2026-11-24

Page content applies to build 13.2.0.193