1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Artifacts
  5. getContainerImageSignature
Oracle Cloud Infrastructure v2.15.0 published on Thursday, Oct 31, 2024 by Pulumi

oci.Artifacts.getContainerImageSignature

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.15.0 published on Thursday, Oct 31, 2024 by Pulumi

    This data source provides details about a specific Container Image Signature resource in Oracle Cloud Infrastructure Artifacts service.

    Get container image signature metadata.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testContainerImageSignature = oci.Artifacts.getContainerImageSignature({
        imageSignatureId: testImageSignature.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_container_image_signature = oci.Artifacts.get_container_image_signature(image_signature_id=test_image_signature["id"])
    
    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.GetContainerImageSignature(ctx, &artifacts.GetContainerImageSignatureArgs{
    			ImageSignatureId: testImageSignature.Id,
    		}, nil)
    		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 = Oci.Artifacts.GetContainerImageSignature.Invoke(new()
        {
            ImageSignatureId = testImageSignature.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Artifacts.ArtifactsFunctions;
    import com.pulumi.oci.Artifacts.inputs.GetContainerImageSignatureArgs;
    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) {
            final var testContainerImageSignature = ArtifactsFunctions.getContainerImageSignature(GetContainerImageSignatureArgs.builder()
                .imageSignatureId(testImageSignature.id())
                .build());
    
        }
    }
    
    variables:
      testContainerImageSignature:
        fn::invoke:
          Function: oci:Artifacts:getContainerImageSignature
          Arguments:
            imageSignatureId: ${testImageSignature.id}
    

    Using getContainerImageSignature

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getContainerImageSignature(args: GetContainerImageSignatureArgs, opts?: InvokeOptions): Promise<GetContainerImageSignatureResult>
    function getContainerImageSignatureOutput(args: GetContainerImageSignatureOutputArgs, opts?: InvokeOptions): Output<GetContainerImageSignatureResult>
    def get_container_image_signature(image_signature_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetContainerImageSignatureResult
    def get_container_image_signature_output(image_signature_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetContainerImageSignatureResult]
    func GetContainerImageSignature(ctx *Context, args *GetContainerImageSignatureArgs, opts ...InvokeOption) (*GetContainerImageSignatureResult, error)
    func GetContainerImageSignatureOutput(ctx *Context, args *GetContainerImageSignatureOutputArgs, opts ...InvokeOption) GetContainerImageSignatureResultOutput

    > Note: This function is named GetContainerImageSignature in the Go SDK.

    public static class GetContainerImageSignature 
    {
        public static Task<GetContainerImageSignatureResult> InvokeAsync(GetContainerImageSignatureArgs args, InvokeOptions? opts = null)
        public static Output<GetContainerImageSignatureResult> Invoke(GetContainerImageSignatureInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetContainerImageSignatureResult> getContainerImageSignature(GetContainerImageSignatureArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Artifacts/getContainerImageSignature:getContainerImageSignature
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ImageSignatureId string
    The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
    ImageSignatureId string
    The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
    imageSignatureId String
    The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
    imageSignatureId string
    The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
    image_signature_id str
    The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
    imageSignatureId String
    The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID

    getContainerImageSignature Result

    The following output properties are available:

    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>
    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>
    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"}
    Id string
    The OCID of the container image signature. Example: ocid1.containerimagesignature.oc1..exampleuniqueID
    ImageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    ImageSignatureId string
    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.
    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
    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
    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"}
    Id string
    The OCID of the container image signature. Example: ocid1.containerimagesignature.oc1..exampleuniqueID
    ImageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    ImageSignatureId string
    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.
    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>
    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>
    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"}
    id String
    The OCID of the container image signature. Example: ocid1.containerimagesignature.oc1..exampleuniqueID
    imageId String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    imageSignatureId String
    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.
    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}
    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}
    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"}
    id string
    The OCID of the container image signature. Example: ocid1.containerimagesignature.oc1..exampleuniqueID
    imageId string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    imageSignatureId string
    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.
    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]
    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]
    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"}
    id str
    The OCID of the container image signature. Example: ocid1.containerimagesignature.oc1..exampleuniqueID
    image_id str
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    image_signature_id str
    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.
    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>
    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>
    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"}
    id String
    The OCID of the container image signature. Example: ocid1.containerimagesignature.oc1..exampleuniqueID
    imageId String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    imageSignatureId String
    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.
    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.

    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.15.0 published on Thursday, Oct 31, 2024 by Pulumi