Berildocs GitHub

Memory cards

OCI policy is compartment and tenancy scoped

confidence: lowupdated: 2026-11-24status: activecloudociiam

Claim#

Instance principals and dynamic groups grant rights through policy statements at a compartment or tenancy scope.

Test#

Read the dynamic group and policy. Check the compartment path. Test a read at the highest scope.

Proof#

A read or token mint outside the intended compartment.

Failure modes#

A policy on a single compartment is narrow. A tenancy-wide manage statement is not.