Class CreateContainerImageSignatureDetails
Upload container image signature request details.
Inherited Members
Namespace: Oci.ArtifactsService.Models
Assembly: OCI.DotNetSDK.Artifacts.dll
Syntax
public class CreateContainerImageSignatureDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment in which the container repository exists. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a
namespace. For more information, see Resource Tags.
|
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | 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.
|
ImageId
Declaration
[Required(ErrorMessage = "ImageId is required.")]
[JsonProperty(PropertyName = "imageId")]
public string ImageId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the container image.
|
Remarks
Required
KmsKeyId
Declaration
[Required(ErrorMessage = "KmsKeyId is required.")]
[JsonProperty(PropertyName = "kmsKeyId")]
public string KmsKeyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the kmsKeyId used to sign the container image.
|
Remarks
Required
KmsKeyVersionId
Declaration
[Required(ErrorMessage = "KmsKeyVersionId is required.")]
[JsonProperty(PropertyName = "kmsKeyVersionId")]
public string KmsKeyVersionId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the kmsKeyVersionId used to sign the container image.
|
Remarks
Required
Message
Declaration
[Required(ErrorMessage = "Message is required.")]
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | The base64 encoded signature payload that was signed. |
Remarks
Required
Signature
Declaration
[Required(ErrorMessage = "Signature is required.")]
[JsonProperty(PropertyName = "signature")]
public string Signature { get; set; }
Property Value
Type | Description |
---|---|
string | The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm. |
Remarks
Required
SigningAlgorithm
Declaration
[Required(ErrorMessage = "SigningAlgorithm is required.")]
[JsonProperty(PropertyName = "signingAlgorithm")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateContainerImageSignatureDetails.SigningAlgorithmEnum? SigningAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
CreateContainerImageSignatureDetails.SigningAlgorithmEnum? | The algorithm to be used for signing. These are the only supported signing algorithms for container images. |
Remarks
Required