import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Container Image Signature resource in Oracle Cloud Infrastructure Artifacts service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/registry/latest/ContainerImageSignature * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/artifacts * * Upload a signature to an image. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerImageSignature = new oci.artifacts.ContainerImageSignature("test_container_image_signature", { * compartmentId: compartmentId, * imageId: testImage.id, * kmsKeyId: testKey.id, * kmsKeyVersionId: testKeyVersion.id, * message: containerImageSignatureMessage, * signature: containerImageSignatureSignature, * signingAlgorithm: containerImageSignatureSigningAlgorithm, * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * ContainerImageSignatures can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Artifacts/containerImageSignature:ContainerImageSignature test_container_image_signature "container/imageSignatures/{imageSignatureId}" * ``` */ export declare class ContainerImageSignature extends pulumi.CustomResource { /** * Get an existing ContainerImageSignature resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ContainerImageSignatureState, opts?: pulumi.CustomResourceOptions): ContainerImageSignature; /** * Returns true if the given object is an instance of ContainerImageSignature. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ContainerImageSignature; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the container repository exists. */ readonly compartmentId: pulumi.Output; /** * The id of the user or principal that created the resource. */ readonly createdBy: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * 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` */ readonly displayName: pulumi.Output; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image. Example: `ocid1.containerimage.oc1..exampleuniqueID` */ readonly imageId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the kmsKeyId used to sign the container image. Example: `ocid1.key.oc1..exampleuniqueID` */ readonly kmsKeyId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image. Example: `ocid1.keyversion.oc1..exampleuniqueID` */ readonly kmsKeyVersionId: pulumi.Output; /** * The base64 encoded signature payload that was signed. */ readonly message: pulumi.Output; /** * The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm. */ readonly signature: pulumi.Output; /** * The algorithm to be used for signing. These are the only supported signing algorithms for container images. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly signingAlgorithm: pulumi.Output; /** * The current state of the container image signature. */ readonly state: pulumi.Output; /** * The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * An RFC 3339 timestamp indicating when the image was created. */ readonly timeCreated: pulumi.Output; /** * Create a ContainerImageSignature resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ContainerImageSignatureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerImageSignature resources. */ export interface ContainerImageSignatureState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the container repository exists. */ compartmentId?: pulumi.Input; /** * The id of the user or principal that created the resource. */ createdBy?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * 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` */ displayName?: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image. Example: `ocid1.containerimage.oc1..exampleuniqueID` */ imageId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the kmsKeyId used to sign the container image. Example: `ocid1.key.oc1..exampleuniqueID` */ kmsKeyId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image. Example: `ocid1.keyversion.oc1..exampleuniqueID` */ kmsKeyVersionId?: pulumi.Input; /** * The base64 encoded signature payload that was signed. */ message?: pulumi.Input; /** * The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm. */ signature?: pulumi.Input; /** * The algorithm to be used for signing. These are the only supported signing algorithms for container images. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ signingAlgorithm?: pulumi.Input; /** * The current state of the container image signature. */ state?: pulumi.Input; /** * The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * An RFC 3339 timestamp indicating when the image was created. */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a ContainerImageSignature resource. */ export interface ContainerImageSignatureArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the container repository exists. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the container image. Example: `ocid1.containerimage.oc1..exampleuniqueID` */ imageId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the kmsKeyId used to sign the container image. Example: `ocid1.key.oc1..exampleuniqueID` */ kmsKeyId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the kmsKeyVersionId used to sign the container image. Example: `ocid1.keyversion.oc1..exampleuniqueID` */ kmsKeyVersionId: pulumi.Input; /** * The base64 encoded signature payload that was signed. */ message: pulumi.Input; /** * The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm. */ signature: pulumi.Input; /** * The algorithm to be used for signing. These are the only supported signing algorithms for container images. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ signingAlgorithm: pulumi.Input; } //# sourceMappingURL=containerImageSignature.d.ts.map