ImagePolicyConfig

class oci.functions.models.ImagePolicyConfig(**kwargs)

Bases: object

Define the image signature verification policy for an application.

Methods

__init__(**kwargs) Initializes a new ImagePolicyConfig object with values from keyword arguments.

Attributes

is_policy_enabled [Required] Gets the is_policy_enabled of this ImagePolicyConfig.
key_details Gets the key_details of this ImagePolicyConfig.
__init__(**kwargs)

Initializes a new ImagePolicyConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_policy_enabled (bool) – The value to assign to the is_policy_enabled property of this ImagePolicyConfig.
  • key_details (list[oci.functions.models.KeyDetails]) – The value to assign to the key_details property of this ImagePolicyConfig.
is_policy_enabled

[Required] Gets the is_policy_enabled of this ImagePolicyConfig. Define if image signature verification policy is enabled for the application.

Returns:The is_policy_enabled of this ImagePolicyConfig.
Return type:bool
key_details

Gets the key_details of this ImagePolicyConfig. A list of KMS key details.

Returns:The key_details of this ImagePolicyConfig.
Return type:list[oci.functions.models.KeyDetails]