Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Artifacts.getContainerImageSignature
Explore with Pulumi AI
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 LookupContainerImageSignature(ctx *Context, args *LookupContainerImageSignatureArgs, opts ...InvokeOption) (*LookupContainerImageSignatureResult, error)
func LookupContainerImageSignatureOutput(ctx *Context, args *LookupContainerImageSignatureOutputArgs, opts ...InvokeOption) LookupContainerImageSignatureResultOutput> Note: This function is named LookupContainerImageSignature 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)
public static Output<GetContainerImageSignatureResult> getContainerImageSignature(GetContainerImageSignatureArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Artifacts/getContainerImageSignature:getContainerImageSignature
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImageSignature stringId 
- The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
- ImageSignature stringId 
- The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
- imageSignature StringId 
- The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
- imageSignature stringId 
- The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
- image_signature_ strid 
- The OCID of the container image signature. Example: ocid1.containersignature.oc1..exampleuniqueID
- imageSignature StringId 
- 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.
- 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
- 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
- ImageSignature stringId 
- KmsKey stringId 
- The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
- KmsKey stringVersion Id 
- 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.
- 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.
- 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
- 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
- ImageSignature stringId 
- KmsKey stringId 
- The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
- KmsKey stringVersion Id 
- 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.
- 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.
- 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
- 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
- imageSignature StringId 
- kmsKey StringId 
- The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
- kmsKey StringVersion Id 
- 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.
- 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.
- {[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
- {[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
- imageSignature stringId 
- kmsKey stringId 
- The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
- kmsKey stringVersion Id 
- 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.
- {[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.
- 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
- 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_ strid 
- kms_key_ strid 
- The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
- kms_key_ strversion_ id 
- 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.
- 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.
- 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
- 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
- imageSignature StringId 
- kmsKey StringId 
- The OCID of the kmsKeyId used to sign the container image. Example: ocid1.key.oc1..exampleuniqueID
- kmsKey StringVersion Id 
- 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.
- 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 ociTerraform Provider.