1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataScience
  6. ModelArtifactSignature
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.6.0
published on Thursday, Nov 5, 2026 by Pulumi

    This resource provides the Model Artifact Signature resource in Oracle Cloud Infrastructure Data Science service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/ArtifactSignature

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience

    Create model artifact signature for the specified model

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testModelArtifactSignature = new oci.datascience.ModelArtifactSignature("test_model_artifact_signature", {
        compartmentId: compartmentId,
        kmsKeyId: testKey.id,
        kmsKeyVersionId: testKeyVersion.id,
        modelId: testModel.id,
        signingAlgorithm: modelArtifactSignatureSigningAlgorithm,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: modelArtifactSignatureDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_model_artifact_signature = oci.datascience.ModelArtifactSignature("test_model_artifact_signature",
        compartment_id=compartment_id,
        kms_key_id=test_key["id"],
        kms_key_version_id=test_key_version["id"],
        model_id=test_model["id"],
        signing_algorithm=model_artifact_signature_signing_algorithm,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=model_artifact_signature_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datascience"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datascience.NewModelArtifactSignature(ctx, "test_model_artifact_signature", &datascience.ModelArtifactSignatureArgs{
    			CompartmentId:    pulumi.Any(compartmentId),
    			KmsKeyId:         pulumi.Any(testKey.Id),
    			KmsKeyVersionId:  pulumi.Any(testKeyVersion.Id),
    			ModelId:          pulumi.Any(testModel.Id),
    			SigningAlgorithm: pulumi.Any(modelArtifactSignatureSigningAlgorithm),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(modelArtifactSignatureDisplayName),
    			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 testModelArtifactSignature = new Oci.DataScience.ModelArtifactSignature("test_model_artifact_signature", new()
        {
            CompartmentId = compartmentId,
            KmsKeyId = testKey.Id,
            KmsKeyVersionId = testKeyVersion.Id,
            ModelId = testModel.Id,
            SigningAlgorithm = modelArtifactSignatureSigningAlgorithm,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = modelArtifactSignatureDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataScience.ModelArtifactSignature;
    import com.pulumi.oci.DataScience.ModelArtifactSignatureArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testModelArtifactSignature = new ModelArtifactSignature("testModelArtifactSignature", ModelArtifactSignatureArgs.builder()
                .compartmentId(compartmentId)
                .kmsKeyId(testKey.get("id"))
                .kmsKeyVersionId(testKeyVersion.get("id"))
                .modelId(testModel.get("id"))
                .signingAlgorithm(modelArtifactSignatureSigningAlgorithm)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(modelArtifactSignatureDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testModelArtifactSignature:
        type: oci:DataScience:ModelArtifactSignature
        name: test_model_artifact_signature
        properties:
          compartmentId: ${compartmentId}
          kmsKeyId: ${testKey.id}
          kmsKeyVersionId: ${testKeyVersion.id}
          modelId: ${testModel.id}
          signingAlgorithm: ${modelArtifactSignatureSigningAlgorithm}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${modelArtifactSignatureDisplayName}
          freeformTags:
            Department: Finance
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_data_science_model_artifact_signature" "test_model_artifact_signature" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id     = compartmentId
      kms_key_id         = testKey.id
      kms_key_version_id = testKeyVersion.id
      model_id           = testModel.id
      signing_algorithm  = modelArtifactSignatureSigningAlgorithm
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      display_name = modelArtifactSignatureDisplayName
      freeform_tags = {
        "Department" = "Finance"
      }
    }
    

    Create ModelArtifactSignature Resource

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

    Constructor syntax

    new ModelArtifactSignature(name: string, args: ModelArtifactSignatureArgs, opts?: CustomResourceOptions);
    @overload
    def ModelArtifactSignature(resource_name: str,
                               args: ModelArtifactSignatureArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ModelArtifactSignature(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               compartment_id: Optional[str] = None,
                               kms_key_id: Optional[str] = None,
                               kms_key_version_id: Optional[str] = None,
                               model_id: Optional[str] = None,
                               signing_algorithm: Optional[str] = None,
                               defined_tags: Optional[Mapping[str, str]] = None,
                               display_name: Optional[str] = None,
                               freeform_tags: Optional[Mapping[str, str]] = None,
                               verify_trigger: Optional[int] = None)
    func NewModelArtifactSignature(ctx *Context, name string, args ModelArtifactSignatureArgs, opts ...ResourceOption) (*ModelArtifactSignature, error)
    public ModelArtifactSignature(string name, ModelArtifactSignatureArgs args, CustomResourceOptions? opts = null)
    public ModelArtifactSignature(String name, ModelArtifactSignatureArgs args)
    public ModelArtifactSignature(String name, ModelArtifactSignatureArgs args, CustomResourceOptions options)
    
    type: oci:DataScience:ModelArtifactSignature
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_data_science_model_artifact_signature" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ModelArtifactSignatureArgs
    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 ModelArtifactSignatureArgs
    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 ModelArtifactSignatureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ModelArtifactSignatureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ModelArtifactSignatureArgs
    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 modelArtifactSignatureResource = new Oci.DataScience.ModelArtifactSignature("modelArtifactSignatureResource", new()
    {
        CompartmentId = "string",
        KmsKeyId = "string",
        KmsKeyVersionId = "string",
        ModelId = "string",
        SigningAlgorithm = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        VerifyTrigger = 0,
    });
    
    example, err := datascience.NewModelArtifactSignature(ctx, "modelArtifactSignatureResource", &datascience.ModelArtifactSignatureArgs{
    	CompartmentId:    pulumi.String("string"),
    	KmsKeyId:         pulumi.String("string"),
    	KmsKeyVersionId:  pulumi.String("string"),
    	ModelId:          pulumi.String("string"),
    	SigningAlgorithm: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VerifyTrigger: pulumi.Int(0),
    })
    
    resource "oci_data_science_model_artifact_signature" "modelArtifactSignatureResource" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id     = "string"
      kms_key_id         = "string"
      kms_key_version_id = "string"
      model_id           = "string"
      signing_algorithm  = "string"
      defined_tags = {
        "string" = "string"
      }
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
      verify_trigger = 0
    }
    
    var modelArtifactSignatureResource = new ModelArtifactSignature("modelArtifactSignatureResource", ModelArtifactSignatureArgs.builder()
        .compartmentId("string")
        .kmsKeyId("string")
        .kmsKeyVersionId("string")
        .modelId("string")
        .signingAlgorithm("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .verifyTrigger(0)
        .build());
    
    model_artifact_signature_resource = oci.datascience.ModelArtifactSignature("modelArtifactSignatureResource",
        compartment_id="string",
        kms_key_id="string",
        kms_key_version_id="string",
        model_id="string",
        signing_algorithm="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        verify_trigger=0)
    
    const modelArtifactSignatureResource = new oci.datascience.ModelArtifactSignature("modelArtifactSignatureResource", {
        compartmentId: "string",
        kmsKeyId: "string",
        kmsKeyVersionId: "string",
        modelId: "string",
        signingAlgorithm: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        verifyTrigger: 0,
    });
    
    type: oci:DataScience:ModelArtifactSignature
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        kmsKeyId: string
        kmsKeyVersionId: string
        modelId: string
        signingAlgorithm: string
        verifyTrigger: 0
    

    ModelArtifactSignature 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 ModelArtifactSignature resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment containing the resource.
    KmsKeyId string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    KmsKeyVersionId string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    ModelId string
    The OCID of the model.
    SigningAlgorithm string
    The algorithm used for signing.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    VerifyTrigger int

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    CompartmentId string
    (Updatable) The OCID of the compartment containing the resource.
    KmsKeyId string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    KmsKeyVersionId string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    ModelId string
    The OCID of the model.
    SigningAlgorithm string
    The algorithm used for signing.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    VerifyTrigger int

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartment_id string
    (Updatable) The OCID of the compartment containing the resource.
    kms_key_id string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kms_key_version_id string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    model_id string
    The OCID of the model.
    signing_algorithm string
    The algorithm used for signing.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    freeform_tags map(string)
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    verify_trigger number

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartmentId String
    (Updatable) The OCID of the compartment containing the resource.
    kmsKeyId String
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kmsKeyVersionId String
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    modelId String
    The OCID of the model.
    signingAlgorithm String
    The algorithm used for signing.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    verifyTrigger Integer

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartmentId string
    (Updatable) The OCID of the compartment containing the resource.
    kmsKeyId string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kmsKeyVersionId string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    modelId string
    The OCID of the model.
    signingAlgorithm string
    The algorithm used for signing.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    verifyTrigger number

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartment_id str
    (Updatable) The OCID of the compartment containing the resource.
    kms_key_id str
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kms_key_version_id str
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    model_id str
    The OCID of the model.
    signing_algorithm str
    The algorithm used for signing.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    display_name str
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    verify_trigger int

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartmentId String
    (Updatable) The OCID of the compartment containing the resource.
    kmsKeyId String
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kmsKeyVersionId String
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    modelId String
    The OCID of the model.
    signingAlgorithm String
    The algorithm used for signing.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    displayName String
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    verifyTrigger Number

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    Outputs

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

    CreatedBy string
    The OCID of the user who created the model.
    Digest string
    Base64 encoded string representing the model artifact digest.
    Id string
    The provider-assigned unique ID for this managed resource.
    Signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    State string
    The lifecycle state of the model artifact signature
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    TimeUpdated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    CreatedBy string
    The OCID of the user who created the model.
    Digest string
    Base64 encoded string representing the model artifact digest.
    Id string
    The provider-assigned unique ID for this managed resource.
    Signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    State string
    The lifecycle state of the model artifact signature
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    TimeUpdated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    created_by string
    The OCID of the user who created the model.
    digest string
    Base64 encoded string representing the model artifact digest.
    id string
    The provider-assigned unique ID for this managed resource.
    signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    state string
    The lifecycle state of the model artifact signature
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    time_updated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    createdBy String
    The OCID of the user who created the model.
    digest String
    Base64 encoded string representing the model artifact digest.
    id String
    The provider-assigned unique ID for this managed resource.
    signature String
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    state String
    The lifecycle state of the model artifact signature
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    timeUpdated String
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    createdBy string
    The OCID of the user who created the model.
    digest string
    Base64 encoded string representing the model artifact digest.
    id string
    The provider-assigned unique ID for this managed resource.
    signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    state string
    The lifecycle state of the model artifact signature
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    timeUpdated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    created_by str
    The OCID of the user who created the model.
    digest str
    Base64 encoded string representing the model artifact digest.
    id str
    The provider-assigned unique ID for this managed resource.
    signature str
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    state str
    The lifecycle state of the model artifact signature
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    time_updated str
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    createdBy String
    The OCID of the user who created the model.
    digest String
    Base64 encoded string representing the model artifact digest.
    id String
    The provider-assigned unique ID for this managed resource.
    signature String
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    state String
    The lifecycle state of the model artifact signature
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    timeUpdated String
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z

    Look up Existing ModelArtifactSignature Resource

    Get an existing ModelArtifactSignature 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?: ModelArtifactSignatureState, opts?: CustomResourceOptions): ModelArtifactSignature
    @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,
            digest: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            kms_key_id: Optional[str] = None,
            kms_key_version_id: Optional[str] = None,
            model_id: 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,
            time_updated: Optional[str] = None,
            verify_trigger: Optional[int] = None) -> ModelArtifactSignature
    func GetModelArtifactSignature(ctx *Context, name string, id IDInput, state *ModelArtifactSignatureState, opts ...ResourceOption) (*ModelArtifactSignature, error)
    public static ModelArtifactSignature Get(string name, Input<string> id, ModelArtifactSignatureState? state, CustomResourceOptions? opts = null)
    public static ModelArtifactSignature get(String name, Output<String> id, ModelArtifactSignatureState state, CustomResourceOptions options)
    resources:  _:    type: oci:DataScience:ModelArtifactSignature    get:      id: ${id}
    import {
      to = oci_data_science_model_artifact_signature.example
      id = "${id}"
    }
    
    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
    (Updatable) The OCID of the compartment containing the resource.
    CreatedBy string
    The OCID of the user who created the model.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Digest string
    Base64 encoded string representing the model artifact digest.
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    KmsKeyId string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    KmsKeyVersionId string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    ModelId string
    The OCID of the model.
    Signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    SigningAlgorithm string
    The algorithm used for signing.
    State string
    The lifecycle state of the model artifact signature
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    TimeUpdated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    VerifyTrigger int

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    CompartmentId string
    (Updatable) The OCID of the compartment containing the resource.
    CreatedBy string
    The OCID of the user who created the model.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    Digest string
    Base64 encoded string representing the model artifact digest.
    DisplayName string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    KmsKeyId string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    KmsKeyVersionId string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    ModelId string
    The OCID of the model.
    Signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    SigningAlgorithm string
    The algorithm used for signing.
    State string
    The lifecycle state of the model artifact signature
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    TimeUpdated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    VerifyTrigger int

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartment_id string
    (Updatable) The OCID of the compartment containing the resource.
    created_by string
    The OCID of the user who created the model.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest string
    Base64 encoded string representing the model artifact digest.
    display_name string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    freeform_tags map(string)
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {"Department": "Finance"}
    kms_key_id string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kms_key_version_id string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    model_id string
    The OCID of the model.
    signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    signing_algorithm string
    The algorithm used for signing.
    state string
    The lifecycle state of the model artifact signature
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    time_updated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    verify_trigger number

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartmentId String
    (Updatable) The OCID of the compartment containing the resource.
    createdBy String
    The OCID of the user who created the model.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest String
    Base64 encoded string representing the model artifact digest.
    displayName String
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    kmsKeyId String
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kmsKeyVersionId String
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    modelId String
    The OCID of the model.
    signature String
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    signingAlgorithm String
    The algorithm used for signing.
    state String
    The lifecycle state of the model artifact signature
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    timeUpdated String
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    verifyTrigger Integer

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartmentId string
    (Updatable) The OCID of the compartment containing the resource.
    createdBy string
    The OCID of the user who created the model.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest string
    Base64 encoded string representing the model artifact digest.
    displayName string
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    kmsKeyId string
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kmsKeyVersionId string
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    modelId string
    The OCID of the model.
    signature string
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    signingAlgorithm string
    The algorithm used for signing.
    state string
    The lifecycle state of the model artifact signature
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    timeUpdated string
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    verifyTrigger number

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartment_id str
    (Updatable) The OCID of the compartment containing the resource.
    created_by str
    The OCID of the user who created the model.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest str
    Base64 encoded string representing the model artifact digest.
    display_name str
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    kms_key_id str
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kms_key_version_id str
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    model_id str
    The OCID of the model.
    signature str
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    signing_algorithm str
    The algorithm used for signing.
    state str
    The lifecycle state of the model artifact signature
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    time_updated str
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    verify_trigger int

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    compartmentId String
    (Updatable) The OCID of the compartment containing the resource.
    createdBy String
    The OCID of the user who created the model.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest String
    Base64 encoded string representing the model artifact digest.
    displayName String
    (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. Example: My Model Artifact Signature
    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. See Resource Tags. Example: {"Department": "Finance"}
    kmsKeyId String
    The OCID of the key from Oracle Cloud Infrastructure KMS.
    kmsKeyVersionId String
    The OCID of the key version from Oracle Cloud Infrastructure KMS.
    modelId String
    The OCID of the model.
    signature String
    The signature of the digest generated using kmsKeyId, kmsKeyVersion Id and signingAlgorithm.
    signingAlgorithm String
    The algorithm used for signing.
    state String
    The lifecycle state of the model artifact signature
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    timeUpdated String
    The date and time the resource was updated in the timestamp format defined by RFC3339. Example: 2019-08-25T21:10:29.41Z
    verifyTrigger Number

    (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value.

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

    Import

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

    $ pulumi import oci:DataScience/modelArtifactSignature:ModelArtifactSignature test_model_artifact_signature "models/{modelId}/artifactSignatures/{artifactSignatureId}"
    

    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 oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.6.0
    published on Thursday, Nov 5, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial