oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.Artifacts.getContainerImageSignature

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testContainerImageSignature = Oci.Artifacts.GetContainerImageSignature.Invoke(new()
    {
        ImageSignatureId = oci_artifacts_image_signature.Test_image_signature.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_artifacts_image_signature.Test_image_signature.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_artifacts_image_signature.test_image_signature().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_container_image_signature = oci.Artifacts.get_container_image_signature(image_signature_id=oci_artifacts_image_signature["test_image_signature"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testContainerImageSignature = oci.Artifacts.getContainerImageSignature({
    imageSignatureId: oci_artifacts_image_signature.test_image_signature.id,
});
variables:
  testContainerImageSignature:
    fn::invoke:
      Function: oci:Artifacts:getContainerImageSignature
      Arguments:
        imageSignatureId: ${oci_artifacts_image_signature.test_image_signature.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.

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 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.

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.

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 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.

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.

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 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.

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.

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 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.

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.

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 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.

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.

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 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.

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.