ContainerImageSignature¶
-
class
oci.artifacts.models.
ContainerImageSignature
(**kwargs)¶ Bases:
object
Container image signature metadata.
Attributes
LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a ContainerImageSignature. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a ContainerImageSignature. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a ContainerImageSignature. SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignature. SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignature. SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignature. SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSS
A constant which can be used with the signing_algorithm property of a ContainerImageSignature. compartment_id
[Required] Gets the compartment_id of this ContainerImageSignature. created_by
[Required] Gets the created_by of this ContainerImageSignature. defined_tags
[Required] Gets the defined_tags of this ContainerImageSignature. display_name
[Required] Gets the display_name of this ContainerImageSignature. freeform_tags
[Required] Gets the freeform_tags of this ContainerImageSignature. id
[Required] Gets the id of this ContainerImageSignature. image_id
[Required] Gets the image_id of this ContainerImageSignature. kms_key_id
[Required] Gets the kms_key_id of this ContainerImageSignature. kms_key_version_id
[Required] Gets the kms_key_version_id of this ContainerImageSignature. lifecycle_state
[Required] Gets the lifecycle_state of this ContainerImageSignature. message
[Required] Gets the message of this ContainerImageSignature. signature
[Required] Gets the signature of this ContainerImageSignature. signing_algorithm
[Required] Gets the signing_algorithm of this ContainerImageSignature. system_tags
[Required] Gets the system_tags of this ContainerImageSignature. time_created
[Required] Gets the time_created of this ContainerImageSignature. Methods
__init__
(**kwargs)Initializes a new ContainerImageSignature object with values from keyword arguments. -
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a ContainerImageSignature. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ContainerImageSignature. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ContainerImageSignature. This constant has a value of “DELETING”
-
SIGNING_ALGORITHM_SHA_224_RSA_PKCS_PSS
= 'SHA_224_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignature. This constant has a value of “SHA_224_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_256_RSA_PKCS_PSS
= 'SHA_256_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignature. This constant has a value of “SHA_256_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_384_RSA_PKCS_PSS
= 'SHA_384_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignature. This constant has a value of “SHA_384_RSA_PKCS_PSS”
-
SIGNING_ALGORITHM_SHA_512_RSA_PKCS_PSS
= 'SHA_512_RSA_PKCS_PSS'¶ A constant which can be used with the signing_algorithm property of a ContainerImageSignature. This constant has a value of “SHA_512_RSA_PKCS_PSS”
-
__init__
(**kwargs)¶ Initializes a new ContainerImageSignature object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this ContainerImageSignature.
- created_by (str) – The value to assign to the created_by property of this ContainerImageSignature.
- display_name (str) – The value to assign to the display_name property of this ContainerImageSignature.
- id (str) – The value to assign to the id property of this ContainerImageSignature.
- image_id (str) – The value to assign to the image_id property of this ContainerImageSignature.
- kms_key_id (str) – The value to assign to the kms_key_id property of this ContainerImageSignature.
- kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this ContainerImageSignature.
- message (str) – The value to assign to the message property of this ContainerImageSignature.
- signature (str) – The value to assign to the signature property of this ContainerImageSignature.
- signing_algorithm (str) – The value to assign to the signing_algorithm property of this ContainerImageSignature. Allowed values for this property are: “SHA_224_RSA_PKCS_PSS”, “SHA_256_RSA_PKCS_PSS”, “SHA_384_RSA_PKCS_PSS”, “SHA_512_RSA_PKCS_PSS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ContainerImageSignature.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ContainerImageSignature. Allowed values for this property are: “AVAILABLE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ContainerImageSignature.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ContainerImageSignature.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ContainerImageSignature.
-
compartment_id
¶ [Required] Gets the compartment_id of this ContainerImageSignature. The OCID of the compartment in which the container repository exists.
Returns: The compartment_id of this ContainerImageSignature. Return type: str
-
created_by
¶ [Required] Gets the created_by of this ContainerImageSignature. The id of the user or principal that created the resource.
Returns: The created_by of this ContainerImageSignature. Return type: str
[Required] Gets the defined_tags of this ContainerImageSignature. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this ContainerImageSignature. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this ContainerImageSignature. The last 10 characters of the kmsKeyId, the last 10 characters of the kmsKeyVersionId, the signingAlgorithm, and the last 10 characters of the signatureId.
Example: wrmz22sixa::qdwyc2ptun::SHA_256_RSA_PKCS_PSS::2vwmobasva
Returns: The display_name of this ContainerImageSignature. Return type: str
[Required] Gets the freeform_tags of this ContainerImageSignature. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this ContainerImageSignature. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ContainerImageSignature. The OCID of the container image signature.
Example: ocid1.containerimagesignature.oc1..exampleuniqueID
Returns: The id of this ContainerImageSignature. Return type: str
-
image_id
¶ [Required] Gets the image_id of this ContainerImageSignature. The OCID of the container image.
Example: ocid1.containerimage.oc1..exampleuniqueID
Returns: The image_id of this ContainerImageSignature. Return type: str
-
kms_key_id
¶ [Required] Gets the kms_key_id of this ContainerImageSignature. The OCID of the kmsKeyId used to sign the container image.
Example: ocid1.key.oc1..exampleuniqueID
Returns: The kms_key_id of this ContainerImageSignature. Return type: str
-
kms_key_version_id
¶ [Required] Gets the kms_key_version_id of this ContainerImageSignature. The OCID of the kmsKeyVersionId used to sign the container image.
Example: ocid1.keyversion.oc1..exampleuniqueID
Returns: The kms_key_version_id of this ContainerImageSignature. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ContainerImageSignature. The current state of the container image signature.
Allowed values for this property are: “AVAILABLE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ContainerImageSignature. Return type: str
-
message
¶ [Required] Gets the message of this ContainerImageSignature. The base64 encoded signature payload that was signed.
Returns: The message of this ContainerImageSignature. Return type: str
-
signature
¶ [Required] Gets the signature of this ContainerImageSignature. The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
Returns: The signature of this ContainerImageSignature. Return type: str
-
signing_algorithm
¶ [Required] Gets the signing_algorithm of this ContainerImageSignature. The algorithm to be used for signing. These are the only supported signing algorithms for container images.
Allowed values for this property are: “SHA_224_RSA_PKCS_PSS”, “SHA_256_RSA_PKCS_PSS”, “SHA_384_RSA_PKCS_PSS”, “SHA_512_RSA_PKCS_PSS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The signing_algorithm of this ContainerImageSignature. Return type: str
[Required] Gets the system_tags of this ContainerImageSignature. The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ContainerImageSignature. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this ContainerImageSignature. An RFC 3339 timestamp indicating when the image was created.
Returns: The time_created of this ContainerImageSignature. Return type: datetime
-