CreateContainerImageSignatureDetails¶
- class oci.artifacts.models.CreateContainerImageSignatureDetails(**kwargs)¶
Bases:
objectUpload container image signature request details.
Attributes:
A constant which can be used with the signing_algorithm property of a CreateContainerImageSignatureDetails.
A constant which can be used with the signing_algorithm property of a CreateContainerImageSignatureDetails.
A constant which can be used with the signing_algorithm property of a CreateContainerImageSignatureDetails.
A constant which can be used with the signing_algorithm property of a CreateContainerImageSignatureDetails.
[Required] Gets the compartment_id of this CreateContainerImageSignatureDetails.
Gets the defined_tags of this CreateContainerImageSignatureDetails.
Gets the freeform_tags of this CreateContainerImageSignatureDetails.
[Required] Gets the image_id of this CreateContainerImageSignatureDetails.
[Required] Gets the kms_key_id of this CreateContainerImageSignatureDetails.
[Required] Gets the kms_key_version_id of this CreateContainerImageSignatureDetails.
[Required] Gets the message of this CreateContainerImageSignatureDetails.
[Required] Gets the signature of this CreateContainerImageSignatureDetails.
[Required] Gets the signing_algorithm of this CreateContainerImageSignatureDetails.
Methods:
__init__(**kwargs)Initializes a new CreateContainerImageSignatureDetails object with values from keyword arguments.
- 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 CreateContainerImageSignatureDetails. 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 CreateContainerImageSignatureDetails. 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 CreateContainerImageSignatureDetails. 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 CreateContainerImageSignatureDetails. This constant has a value of “SHA_512_RSA_PKCS_PSS”
- __init__(**kwargs)¶
Initializes a new CreateContainerImageSignatureDetails 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 CreateContainerImageSignatureDetails.
image_id (str) – The value to assign to the image_id property of this CreateContainerImageSignatureDetails.
kms_key_id (str) – The value to assign to the kms_key_id property of this CreateContainerImageSignatureDetails.
kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this CreateContainerImageSignatureDetails.
message (str) – The value to assign to the message property of this CreateContainerImageSignatureDetails.
signature (str) – The value to assign to the signature property of this CreateContainerImageSignatureDetails.
signing_algorithm (str) – The value to assign to the signing_algorithm property of this CreateContainerImageSignatureDetails. 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”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateContainerImageSignatureDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateContainerImageSignatureDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateContainerImageSignatureDetails. The OCID of the compartment in which the container repository exists.
- Returns
The compartment_id of this CreateContainerImageSignatureDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateContainerImageSignatureDetails. 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 CreateContainerImageSignatureDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this CreateContainerImageSignatureDetails. 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 CreateContainerImageSignatureDetails.
- Return type
dict(str, str)
- property image_id¶
[Required] Gets the image_id of this CreateContainerImageSignatureDetails. The OCID of the container image.
Example: ocid1.containerimage.oc1..exampleuniqueID
- Returns
The image_id of this CreateContainerImageSignatureDetails.
- Return type
str
- property kms_key_id¶
[Required] Gets the kms_key_id of this CreateContainerImageSignatureDetails. The OCID of the kmsKeyId used to sign the container image.
Example: ocid1.key.oc1..exampleuniqueID
- Returns
The kms_key_id of this CreateContainerImageSignatureDetails.
- Return type
str
- property kms_key_version_id¶
[Required] Gets the kms_key_version_id of this CreateContainerImageSignatureDetails. The OCID of the kmsKeyVersionId used to sign the container image.
Example: ocid1.keyversion.oc1..exampleuniqueID
- Returns
The kms_key_version_id of this CreateContainerImageSignatureDetails.
- Return type
str
- property message¶
[Required] Gets the message of this CreateContainerImageSignatureDetails. The base64 encoded signature payload that was signed.
- Returns
The message of this CreateContainerImageSignatureDetails.
- Return type
str
- property signature¶
[Required] Gets the signature of this CreateContainerImageSignatureDetails. The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
- Returns
The signature of this CreateContainerImageSignatureDetails.
- Return type
str
- property signing_algorithm¶
[Required] Gets the signing_algorithm of this CreateContainerImageSignatureDetails. 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”
- Returns
The signing_algorithm of this CreateContainerImageSignatureDetails.
- Return type
str