1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Artifacts
  5. ContainerImageSignature
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Artifacts.ContainerImageSignature

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Container Image Signature resource in Oracle Cloud Infrastructure Artifacts service.

    Upload a signature to an image.

    Example Usage

    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 pulumi
    import pulumi_oci as oci
    
    test_container_image_signature = oci.artifacts.ContainerImageSignature("test_container_image_signature",
        compartment_id=compartment_id,
        image_id=test_image["id"],
        kms_key_id=test_key["id"],
        kms_key_version_id=test_key_version["id"],
        message=container_image_signature_message,
        signature=container_image_signature_signature,
        signing_algorithm=container_image_signature_signing_algorithm,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Artifacts"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Artifacts.NewContainerImageSignature(ctx, "test_container_image_signature", &Artifacts.ContainerImageSignatureArgs{
    			CompartmentId:    pulumi.Any(compartmentId),
    			ImageId:          pulumi.Any(testImage.Id),
    			KmsKeyId:         pulumi.Any(testKey.Id),
    			KmsKeyVersionId:  pulumi.Any(testKeyVersion.Id),
    			Message:          pulumi.Any(containerImageSignatureMessage),
    			Signature:        pulumi.Any(containerImageSignatureSignature),
    			SigningAlgorithm: pulumi.Any(containerImageSignatureSigningAlgorithm),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testContainerImageSignature = new Oci.Artifacts.ContainerImageSignature("test_container_image_signature", new()
        {
            CompartmentId = compartmentId,
            ImageId = testImage.Id,
            KmsKeyId = testKey.Id,
            KmsKeyVersionId = testKeyVersion.Id,
            Message = containerImageSignatureMessage,
            Signature = containerImageSignatureSignature,
            SigningAlgorithm = containerImageSignatureSigningAlgorithm,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Artifacts.ContainerImageSignature;
    import com.pulumi.oci.Artifacts.ContainerImageSignatureArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testContainerImageSignature = new ContainerImageSignature("testContainerImageSignature", ContainerImageSignatureArgs.builder()
                .compartmentId(compartmentId)
                .imageId(testImage.id())
                .kmsKeyId(testKey.id())
                .kmsKeyVersionId(testKeyVersion.id())
                .message(containerImageSignatureMessage)
                .signature(containerImageSignatureSignature)
                .signingAlgorithm(containerImageSignatureSigningAlgorithm)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testContainerImageSignature:
        type: oci:Artifacts:ContainerImageSignature
        name: test_container_image_signature
        properties:
          compartmentId: ${compartmentId}
          imageId: ${testImage.id}
          kmsKeyId: ${testKey.id}
          kmsKeyVersionId: ${testKeyVersion.id}
          message: ${containerImageSignatureMessage}
          signature: ${containerImageSignatureSignature}
          signingAlgorithm: ${containerImageSignatureSigningAlgorithm}
          definedTags:
            Operations.CostCenter: '42'
          freeformTags:
            Department: Finance
    

    Create ContainerImageSignature Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContainerImageSignature(name: string, args: ContainerImageSignatureArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerImageSignature(resource_name: str,
                                args: ContainerImageSignatureArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerImageSignature(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                compartment_id: Optional[str] = None,
                                image_id: Optional[str] = None,
                                kms_key_id: Optional[str] = None,
                                kms_key_version_id: Optional[str] = None,
                                message: Optional[str] = None,
                                signature: Optional[str] = None,
                                signing_algorithm: Optional[str] = None,
                                defined_tags: Optional[Mapping[str, str]] = None,
                                freeform_tags: Optional[Mapping[str, str]] = None)
    func NewContainerImageSignature(ctx *Context, name string, args ContainerImageSignatureArgs, opts ...ResourceOption) (*ContainerImageSignature, error)
    public ContainerImageSignature(string name, ContainerImageSignatureArgs args, CustomResourceOptions? opts = null)
    public ContainerImageSignature(String name, ContainerImageSignatureArgs args)
    public ContainerImageSignature(String name, ContainerImageSignatureArgs args, CustomResourceOptions options)
    
    type: oci:Artifacts:ContainerImageSignature
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ContainerImageSignatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ContainerImageSignatureArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ContainerImageSignatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerImageSignatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerImageSignatureArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var containerImageSignatureResource = new Oci.Artifacts.ContainerImageSignature("containerImageSignatureResource", new()
    {
        CompartmentId = "string",
        ImageId = "string",
        KmsKeyId = "string",
        KmsKeyVersionId = "string",
        Message = "string",
        Signature = "string",
        SigningAlgorithm = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := Artifacts.NewContainerImageSignature(ctx, "containerImageSignatureResource", &Artifacts.ContainerImageSignatureArgs{
    	CompartmentId:    pulumi.String("string"),
    	ImageId:          pulumi.String("string"),
    	KmsKeyId:         pulumi.String("string"),
    	KmsKeyVersionId:  pulumi.String("string"),
    	Message:          pulumi.String("string"),
    	Signature:        pulumi.String("string"),
    	SigningAlgorithm: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var containerImageSignatureResource = new ContainerImageSignature("containerImageSignatureResource", ContainerImageSignatureArgs.builder()
        .compartmentId("string")
        .imageId("string")
        .kmsKeyId("string")
        .kmsKeyVersionId("string")
        .message("string")
        .signature("string")
        .signingAlgorithm("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .build());
    
    container_image_signature_resource = oci.artifacts.ContainerImageSignature("containerImageSignatureResource",
        compartment_id="string",
        image_id="string",
        kms_key_id="string",
        kms_key_version_id="string",
        message="string",
        signature="string",
        signing_algorithm="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        })
    
    const containerImageSignatureResource = new oci.artifacts.ContainerImageSignature("containerImageSignatureResource", {
        compartmentId: "string",
        imageId: "string",
        kmsKeyId: "string",
        kmsKeyVersionId: "string",
        message: "string",
        signature: "string",
        signingAlgorithm: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:Artifacts:ContainerImageSignature
    properties:
        compartmentId: string
        definedTags:
            string: string
        freeformTags:
            string: string
        imageId: string
        kmsKeyId: string
        kmsKeyVersionId: string
        message: string
        signature: string
        signingAlgorithm: string
    

    ContainerImageSignature Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ContainerImageSignature resource accepts the following input properties:

    CompartmentId string
    The OCID of the compartment in which the container repository exists.
    ImageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    KmsKeyId string
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    KmsKeyVersionId string
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    Message string
    The base64 encoded signature payload that was signed.
    Signature string
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    SigningAlgorithm string

    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

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, string>
    (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. Example: {"Department": "Finance"}
    CompartmentId string
    The OCID of the compartment in which the container repository exists.
    ImageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    KmsKeyId string
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    KmsKeyVersionId string
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    Message string
    The base64 encoded signature payload that was signed.
    Signature string
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    SigningAlgorithm string

    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

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]string
    (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. Example: {"Department": "Finance"}
    compartmentId String
    The OCID of the compartment in which the container repository exists.
    imageId String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kmsKeyId String
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kmsKeyVersionId String
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message String
    The base64 encoded signature payload that was signed.
    signature String
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signingAlgorithm String

    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

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,String>
    (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. Example: {"Department": "Finance"}
    compartmentId string
    The OCID of the compartment in which the container repository exists.
    imageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kmsKeyId string
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kmsKeyVersionId string
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message string
    The base64 encoded signature payload that was signed.
    signature string
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signingAlgorithm string

    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

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: string}
    (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. Example: {"Department": "Finance"}
    compartment_id str
    The OCID of the compartment in which the container repository exists.
    image_id str
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kms_key_id str
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kms_key_version_id str
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message str
    The base64 encoded signature payload that was signed.
    signature str
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signing_algorithm str

    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

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, str]
    (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. Example: {"Department": "Finance"}
    compartmentId String
    The OCID of the compartment in which the container repository exists.
    imageId String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kmsKeyId String
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kmsKeyVersionId String
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message String
    The base64 encoded signature payload that was signed.
    signature String
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signingAlgorithm String

    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

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String>
    (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. Example: {"Department": "Finance"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContainerImageSignature resource produces the following output properties:

    CreatedBy string
    The id of the user or principal that created the resource.
    DisplayName 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
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the container image signature.
    SystemTags Dictionary<string, string>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    An RFC 3339 timestamp indicating when the image was created.
    CreatedBy string
    The id of the user or principal that created the resource.
    DisplayName 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
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the container image signature.
    SystemTags map[string]string
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    An RFC 3339 timestamp indicating when the image was created.
    createdBy String
    The id of the user or principal that created the resource.
    displayName 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
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the container image signature.
    systemTags Map<String,String>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    An RFC 3339 timestamp indicating when the image was created.
    createdBy string
    The id of the user or principal that created the resource.
    displayName 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
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the container image signature.
    systemTags {[key: string]: string}
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    An RFC 3339 timestamp indicating when the image was created.
    created_by str
    The id of the user or principal that created the resource.
    display_name str
    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
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the container image signature.
    system_tags Mapping[str, str]
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    An RFC 3339 timestamp indicating when the image was created.
    createdBy String
    The id of the user or principal that created the resource.
    displayName 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
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the container image signature.
    systemTags Map<String>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    An RFC 3339 timestamp indicating when the image was created.

    Look up Existing ContainerImageSignature Resource

    Get an existing ContainerImageSignature resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ContainerImageSignatureState, opts?: CustomResourceOptions): ContainerImageSignature
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            created_by: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            image_id: Optional[str] = None,
            kms_key_id: Optional[str] = None,
            kms_key_version_id: Optional[str] = None,
            message: Optional[str] = None,
            signature: Optional[str] = None,
            signing_algorithm: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None) -> ContainerImageSignature
    func GetContainerImageSignature(ctx *Context, name string, id IDInput, state *ContainerImageSignatureState, opts ...ResourceOption) (*ContainerImageSignature, error)
    public static ContainerImageSignature Get(string name, Input<string> id, ContainerImageSignatureState? state, CustomResourceOptions? opts = null)
    public static ContainerImageSignature get(String name, Output<String> id, ContainerImageSignatureState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment in which the container repository exists.
    CreatedBy string
    The id of the user or principal that created the resource.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName 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
    FreeformTags Dictionary<string, string>
    (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. Example: {"Department": "Finance"}
    ImageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    KmsKeyId string
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    KmsKeyVersionId string
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    Message string
    The base64 encoded signature payload that was signed.
    Signature string
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    SigningAlgorithm string

    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

    State string
    The current state of the container image signature.
    SystemTags Dictionary<string, string>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    An RFC 3339 timestamp indicating when the image was created.
    CompartmentId string
    The OCID of the compartment in which the container repository exists.
    CreatedBy string
    The id of the user or principal that created the resource.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName 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
    FreeformTags map[string]string
    (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. Example: {"Department": "Finance"}
    ImageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    KmsKeyId string
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    KmsKeyVersionId string
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    Message string
    The base64 encoded signature payload that was signed.
    Signature string
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    SigningAlgorithm string

    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

    State string
    The current state of the container image signature.
    SystemTags map[string]string
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    An RFC 3339 timestamp indicating when the image was created.
    compartmentId String
    The OCID of the compartment in which the container repository exists.
    createdBy String
    The id of the user or principal that created the resource.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    freeformTags Map<String,String>
    (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. Example: {"Department": "Finance"}
    imageId String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kmsKeyId String
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kmsKeyVersionId String
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message String
    The base64 encoded signature payload that was signed.
    signature String
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signingAlgorithm String

    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

    state String
    The current state of the container image signature.
    systemTags Map<String,String>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    An RFC 3339 timestamp indicating when the image was created.
    compartmentId string
    The OCID of the compartment in which the container repository exists.
    createdBy string
    The id of the user or principal that created the resource.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    freeformTags {[key: string]: string}
    (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. Example: {"Department": "Finance"}
    imageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kmsKeyId string
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kmsKeyVersionId string
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message string
    The base64 encoded signature payload that was signed.
    signature string
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signingAlgorithm string

    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

    state string
    The current state of the container image signature.
    systemTags {[key: string]: string}
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    An RFC 3339 timestamp indicating when the image was created.
    compartment_id str
    The OCID of the compartment in which the container repository exists.
    created_by str
    The id of the user or principal that created the resource.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    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
    freeform_tags Mapping[str, str]
    (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. Example: {"Department": "Finance"}
    image_id str
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kms_key_id str
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kms_key_version_id str
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message str
    The base64 encoded signature payload that was signed.
    signature str
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signing_algorithm str

    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

    state str
    The current state of the container image signature.
    system_tags Mapping[str, str]
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    An RFC 3339 timestamp indicating when the image was created.
    compartmentId String
    The OCID of the compartment in which the container repository exists.
    createdBy String
    The id of the user or principal that created the resource.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName 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
    freeformTags Map<String>
    (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. Example: {"Department": "Finance"}
    imageId String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    kmsKeyId String
    The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
    kmsKeyVersionId String
    The OCID of the kmsKeyVersionId used to sign the container image. Example: ocid1.keyversion.oc1..exampleuniqueID
    message String
    The base64 encoded signature payload that was signed.
    signature String
    The signature of the message field using the kmsKeyId, the kmsKeyVersionId, and the signingAlgorithm.
    signingAlgorithm String

    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

    state String
    The current state of the container image signature.
    systemTags Map<String>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    An RFC 3339 timestamp indicating when the image was created.

    Import

    ContainerImageSignatures can be imported using the id, e.g.

    $ pulumi import oci:Artifacts/containerImageSignature:ContainerImageSignature test_container_image_signature "container/imageSignatures/{imageSignatureId}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi