Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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 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:
- Image
Signature stringId - The OCID of the container image signature. Example:
ocid1.containersignature.oc1..exampleuniqueID
- Image
Signature stringId - The OCID of the container image signature. Example:
ocid1.containersignature.oc1..exampleuniqueID
- image
Signature StringId - The OCID of the container image signature. Example:
ocid1.containersignature.oc1..exampleuniqueID
- image
Signature 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
- image
Signature StringId - The OCID of the container image signature. Example:
ocid1.containersignature.oc1..exampleuniqueID
getContainerImageSignature Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment in which the container repository exists.
- Created
By 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"}
- Display
Name 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
- Image
Id string - The OCID of the container image. Example:
ocid1.containerimage.oc1..exampleuniqueID
- Image
Signature stringId - Kms
Key stringId - The OCID of the kmsKeyId used to sign the container image. Example:
ocid1.key.oc1..exampleuniqueID
- Kms
Key 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.
- Signing
Algorithm 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"}
- Time
Created string - An RFC 3339 timestamp indicating when the image was created.
- Compartment
Id string - The OCID of the compartment in which the container repository exists.
- Created
By 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"}
- Display
Name 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
- Image
Id string - The OCID of the container image. Example:
ocid1.containerimage.oc1..exampleuniqueID
- Image
Signature stringId - Kms
Key stringId - The OCID of the kmsKeyId used to sign the container image. Example:
ocid1.key.oc1..exampleuniqueID
- Kms
Key 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.
- Signing
Algorithm 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"}
- Time
Created string - An RFC 3339 timestamp indicating when the image was created.
- compartment
Id String - The OCID of the compartment in which the container repository exists.
- created
By 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"}
- display
Name 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
- image
Id String - The OCID of the container image. Example:
ocid1.containerimage.oc1..exampleuniqueID
- image
Signature StringId - kms
Key StringId - The OCID of the kmsKeyId used to sign the container image. Example:
ocid1.key.oc1..exampleuniqueID
- kms
Key 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.
- signing
Algorithm 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"}
- time
Created String - An RFC 3339 timestamp indicating when the image was created.
- compartment
Id string - The OCID of the compartment in which the container repository exists.
- created
By 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"}
- display
Name 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
- image
Id string - The OCID of the container image. Example:
ocid1.containerimage.oc1..exampleuniqueID
- image
Signature stringId - kms
Key stringId - The OCID of the kmsKeyId used to sign the container image. Example:
ocid1.key.oc1..exampleuniqueID
- kms
Key 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.
- signing
Algorithm 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"}
- time
Created 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.
- compartment
Id String - The OCID of the compartment in which the container repository exists.
- created
By 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"}
- display
Name 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
- image
Id String - The OCID of the container image. Example:
ocid1.containerimage.oc1..exampleuniqueID
- image
Signature StringId - kms
Key StringId - The OCID of the kmsKeyId used to sign the container image. Example:
ocid1.key.oc1..exampleuniqueID
- kms
Key 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.
- signing
Algorithm 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"}
- time
Created 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.