A Policy in Oracle Cloud Infrastructure (OCI) is a set of permissions that define what actions groups of users can perform on specific resources within a tenancy. Policies are written in a simple, human-readable language and are attached at the compartment or tenancy level. They enable fine-grained access control by allowing or denying operations across services, ensuring secure and controlled resource management.

oci.identitydomains_policy

Fields

TitleIDTypeData TypeDescription
_keycorestring
activecoreboolThe value to assign to the active property of this Policy.
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringCompartment containing the resource. Used for Access control, logical grouping, and authorization boundaries.
compartment_ocidcorestringThe value to assign to the compartment_ocid property of this Policy.
created_atcoretimestampTime when the resource has been created.
delete_in_progresscoreboolThe value to assign to the delete_in_progress property of this Policy.
descriptioncorestringThe value to assign to the description property of this Policy.
domain_ocidcorestringThe value to assign to the domain_ocid property of this Policy.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Instance.
idcorestringThe value to assign to the id property of this Policy.
idcs_created_bycorejsonThe value to assign to the idcs_created_by property of this Policy.
idcs_last_modified_bycorejsonThe value to assign to the idcs_last_modified_by property of this Policy.
idcs_last_upgraded_in_releasecorestringThe value to assign to the idcs_last_upgraded_in_release property of this Policy.
idcs_prevented_operationscorearray<string>The value to assign to the idcs_prevented_operations property of this Policy. Allowed values for items in this list are: "replace", "update", "delete", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
metacorejsonThe value to assign to the meta property of this Policy.
namecorestringThe value to assign to the name property of this Policy.
ocidcorestringThe value to assign to the ocid property of this Policy.
policy_groovycorestringThe value to assign to the policy_groovy property of this Policy.
policy_typecorejsonThe value to assign to the policy_type property of this Policy.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
rulescorejsonThe value to assign to the rules property of this Policy.
schemascorearray<string>The value to assign to the schemas property of this Policy.
tagscorehstore_csvThe value to assign to the tags property of this Policy.
tenancy_ocidcorestringThe value to assign to the tenancy_ocid property of this Policy.
time_createdcoretimestampThe value to assign to the time_created property of this Instance.
updated_atcoretimestampTime when the resource has been updated the last time.
zone_idcorestringThe zone this resource resides within.