1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. Certificate
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

octopusdeploy.Certificate

Explore with Pulumi AI

octopusdeploy logo
octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs

    This resource manages certificates in Octopus Deploy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as octopusdeploy from "@pulumi/octopusdeploy";
    
    const example = new octopusdeploy.Certificate("example", {
        certificateData: "a-base-64-encoded-string-representing-the-certificate-data",
        password: "###########",
    });
    // required; get from secure environment/store
    
    import pulumi
    import pulumi_octopusdeploy as octopusdeploy
    
    example = octopusdeploy.Certificate("example",
        certificate_data="a-base-64-encoded-string-representing-the-certificate-data",
        password="###########")
    # required; get from secure environment/store
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/octopusdeploy/octopusdeploy"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := octopusdeploy.NewCertificate(ctx, "example", &octopusdeploy.CertificateArgs{
    			CertificateData: pulumi.String("a-base-64-encoded-string-representing-the-certificate-data"),
    			Password:        pulumi.String("###########"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Octopusdeploy = Pulumi.Octopusdeploy;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Octopusdeploy.Certificate("example", new()
        {
            CertificateData = "a-base-64-encoded-string-representing-the-certificate-data",
            Password = "###########",
        });
    
        // required; get from secure environment/store
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.octopusdeploy.Certificate;
    import com.pulumi.octopusdeploy.CertificateArgs;
    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) {
            var example = new Certificate("example", CertificateArgs.builder()
                .certificateData("a-base-64-encoded-string-representing-the-certificate-data")
                .password("###########")
                .build());
    
            // required; get from secure environment/store
        }
    }
    
    resources:
      example:
        type: octopusdeploy:Certificate
        properties:
          certificateData: a-base-64-encoded-string-representing-the-certificate-data
          password: '###########'
    

    Create Certificate Resource

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

    Constructor syntax

    new Certificate(name: string, args: CertificateArgs, opts?: CustomResourceOptions);
    @overload
    def Certificate(resource_name: str,
                    args: CertificateArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Certificate(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    certificate_data: Optional[str] = None,
                    replaced_by: Optional[str] = None,
                    tenants: Optional[Sequence[str]] = None,
                    environments: Optional[Sequence[str]] = None,
                    has_private_key: Optional[bool] = None,
                    is_expired: Optional[bool] = None,
                    issuer_common_name: Optional[str] = None,
                    issuer_distinguished_name: Optional[str] = None,
                    issuer_organization: Optional[str] = None,
                    name: Optional[str] = None,
                    not_after: Optional[str] = None,
                    not_before: Optional[str] = None,
                    self_signed: Optional[bool] = None,
                    certificate_data_format: Optional[str] = None,
                    password: Optional[str] = None,
                    notes: Optional[str] = None,
                    serial_number: Optional[str] = None,
                    signature_algorithm_name: Optional[str] = None,
                    space_id: Optional[str] = None,
                    subject_alternative_names: Optional[Sequence[str]] = None,
                    subject_common_name: Optional[str] = None,
                    subject_distinguished_name: Optional[str] = None,
                    subject_organization: Optional[str] = None,
                    tenant_tags: Optional[Sequence[str]] = None,
                    tenanted_deployment_participation: Optional[str] = None,
                    archived: Optional[str] = None,
                    thumbprint: Optional[str] = None,
                    version: Optional[float] = None)
    func NewCertificate(ctx *Context, name string, args CertificateArgs, opts ...ResourceOption) (*Certificate, error)
    public Certificate(string name, CertificateArgs args, CustomResourceOptions? opts = null)
    public Certificate(String name, CertificateArgs args)
    public Certificate(String name, CertificateArgs args, CustomResourceOptions options)
    
    type: octopusdeploy:Certificate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CertificateArgs
    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 CertificateArgs
    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 CertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CertificateArgs
    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 certificateResource = new Octopusdeploy.Certificate("certificateResource", new()
    {
        CertificateData = "string",
        ReplacedBy = "string",
        Tenants = new[]
        {
            "string",
        },
        Environments = new[]
        {
            "string",
        },
        HasPrivateKey = false,
        IsExpired = false,
        IssuerCommonName = "string",
        IssuerDistinguishedName = "string",
        IssuerOrganization = "string",
        Name = "string",
        NotAfter = "string",
        NotBefore = "string",
        SelfSigned = false,
        CertificateDataFormat = "string",
        Password = "string",
        Notes = "string",
        SerialNumber = "string",
        SignatureAlgorithmName = "string",
        SpaceId = "string",
        SubjectAlternativeNames = new[]
        {
            "string",
        },
        SubjectCommonName = "string",
        SubjectDistinguishedName = "string",
        SubjectOrganization = "string",
        TenantTags = new[]
        {
            "string",
        },
        TenantedDeploymentParticipation = "string",
        Archived = "string",
        Thumbprint = "string",
        Version = 0,
    });
    
    example, err := octopusdeploy.NewCertificate(ctx, "certificateResource", &octopusdeploy.CertificateArgs{
    	CertificateData: pulumi.String("string"),
    	ReplacedBy:      pulumi.String("string"),
    	Tenants: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Environments: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	HasPrivateKey:           pulumi.Bool(false),
    	IsExpired:               pulumi.Bool(false),
    	IssuerCommonName:        pulumi.String("string"),
    	IssuerDistinguishedName: pulumi.String("string"),
    	IssuerOrganization:      pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	NotAfter:                pulumi.String("string"),
    	NotBefore:               pulumi.String("string"),
    	SelfSigned:              pulumi.Bool(false),
    	CertificateDataFormat:   pulumi.String("string"),
    	Password:                pulumi.String("string"),
    	Notes:                   pulumi.String("string"),
    	SerialNumber:            pulumi.String("string"),
    	SignatureAlgorithmName:  pulumi.String("string"),
    	SpaceId:                 pulumi.String("string"),
    	SubjectAlternativeNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SubjectCommonName:        pulumi.String("string"),
    	SubjectDistinguishedName: pulumi.String("string"),
    	SubjectOrganization:      pulumi.String("string"),
    	TenantTags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TenantedDeploymentParticipation: pulumi.String("string"),
    	Archived:                        pulumi.String("string"),
    	Thumbprint:                      pulumi.String("string"),
    	Version:                         pulumi.Float64(0),
    })
    
    var certificateResource = new Certificate("certificateResource", CertificateArgs.builder()
        .certificateData("string")
        .replacedBy("string")
        .tenants("string")
        .environments("string")
        .hasPrivateKey(false)
        .isExpired(false)
        .issuerCommonName("string")
        .issuerDistinguishedName("string")
        .issuerOrganization("string")
        .name("string")
        .notAfter("string")
        .notBefore("string")
        .selfSigned(false)
        .certificateDataFormat("string")
        .password("string")
        .notes("string")
        .serialNumber("string")
        .signatureAlgorithmName("string")
        .spaceId("string")
        .subjectAlternativeNames("string")
        .subjectCommonName("string")
        .subjectDistinguishedName("string")
        .subjectOrganization("string")
        .tenantTags("string")
        .tenantedDeploymentParticipation("string")
        .archived("string")
        .thumbprint("string")
        .version(0)
        .build());
    
    certificate_resource = octopusdeploy.Certificate("certificateResource",
        certificate_data="string",
        replaced_by="string",
        tenants=["string"],
        environments=["string"],
        has_private_key=False,
        is_expired=False,
        issuer_common_name="string",
        issuer_distinguished_name="string",
        issuer_organization="string",
        name="string",
        not_after="string",
        not_before="string",
        self_signed=False,
        certificate_data_format="string",
        password="string",
        notes="string",
        serial_number="string",
        signature_algorithm_name="string",
        space_id="string",
        subject_alternative_names=["string"],
        subject_common_name="string",
        subject_distinguished_name="string",
        subject_organization="string",
        tenant_tags=["string"],
        tenanted_deployment_participation="string",
        archived="string",
        thumbprint="string",
        version=0)
    
    const certificateResource = new octopusdeploy.Certificate("certificateResource", {
        certificateData: "string",
        replacedBy: "string",
        tenants: ["string"],
        environments: ["string"],
        hasPrivateKey: false,
        isExpired: false,
        issuerCommonName: "string",
        issuerDistinguishedName: "string",
        issuerOrganization: "string",
        name: "string",
        notAfter: "string",
        notBefore: "string",
        selfSigned: false,
        certificateDataFormat: "string",
        password: "string",
        notes: "string",
        serialNumber: "string",
        signatureAlgorithmName: "string",
        spaceId: "string",
        subjectAlternativeNames: ["string"],
        subjectCommonName: "string",
        subjectDistinguishedName: "string",
        subjectOrganization: "string",
        tenantTags: ["string"],
        tenantedDeploymentParticipation: "string",
        archived: "string",
        thumbprint: "string",
        version: 0,
    });
    
    type: octopusdeploy:Certificate
    properties:
        archived: string
        certificateData: string
        certificateDataFormat: string
        environments:
            - string
        hasPrivateKey: false
        isExpired: false
        issuerCommonName: string
        issuerDistinguishedName: string
        issuerOrganization: string
        name: string
        notAfter: string
        notBefore: string
        notes: string
        password: string
        replacedBy: string
        selfSigned: false
        serialNumber: string
        signatureAlgorithmName: string
        spaceId: string
        subjectAlternativeNames:
            - string
        subjectCommonName: string
        subjectDistinguishedName: string
        subjectOrganization: string
        tenantTags:
            - string
        tenantedDeploymentParticipation: string
        tenants:
            - string
        thumbprint: string
        version: 0
    

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

    CertificateData string
    The encoded data of the certificate.
    Archived string
    CertificateDataFormat string
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    Environments List<string>
    A list of environment IDs associated with this resource.
    HasPrivateKey bool
    Indicates if the certificate has a private key.
    IsExpired bool
    Indicates if the certificate has expired.
    IssuerCommonName string
    IssuerDistinguishedName string
    IssuerOrganization string
    Name string
    The name of this resource.
    NotAfter string
    NotBefore string
    Notes string
    Password string
    The password associated with this resource.
    ReplacedBy string
    SelfSigned bool
    SerialNumber string
    SignatureAlgorithmName string
    SpaceId string
    SubjectAlternativeNames List<string>
    SubjectCommonName string
    SubjectDistinguishedName string
    SubjectOrganization string
    TenantTags List<string>
    A list of tenant tags associated with this certificate.
    TenantedDeploymentParticipation string
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    Tenants List<string>
    A list of tenant IDs associated with this certificate.
    Thumbprint string
    Version double
    CertificateData string
    The encoded data of the certificate.
    Archived string
    CertificateDataFormat string
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    Environments []string
    A list of environment IDs associated with this resource.
    HasPrivateKey bool
    Indicates if the certificate has a private key.
    IsExpired bool
    Indicates if the certificate has expired.
    IssuerCommonName string
    IssuerDistinguishedName string
    IssuerOrganization string
    Name string
    The name of this resource.
    NotAfter string
    NotBefore string
    Notes string
    Password string
    The password associated with this resource.
    ReplacedBy string
    SelfSigned bool
    SerialNumber string
    SignatureAlgorithmName string
    SpaceId string
    SubjectAlternativeNames []string
    SubjectCommonName string
    SubjectDistinguishedName string
    SubjectOrganization string
    TenantTags []string
    A list of tenant tags associated with this certificate.
    TenantedDeploymentParticipation string
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    Tenants []string
    A list of tenant IDs associated with this certificate.
    Thumbprint string
    Version float64
    certificateData String
    The encoded data of the certificate.
    archived String
    certificateDataFormat String
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments List<String>
    A list of environment IDs associated with this resource.
    hasPrivateKey Boolean
    Indicates if the certificate has a private key.
    isExpired Boolean
    Indicates if the certificate has expired.
    issuerCommonName String
    issuerDistinguishedName String
    issuerOrganization String
    name String
    The name of this resource.
    notAfter String
    notBefore String
    notes String
    password String
    The password associated with this resource.
    replacedBy String
    selfSigned Boolean
    serialNumber String
    signatureAlgorithmName String
    spaceId String
    subjectAlternativeNames List<String>
    subjectCommonName String
    subjectDistinguishedName String
    subjectOrganization String
    tenantTags List<String>
    A list of tenant tags associated with this certificate.
    tenantedDeploymentParticipation String
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants List<String>
    A list of tenant IDs associated with this certificate.
    thumbprint String
    version Double
    certificateData string
    The encoded data of the certificate.
    archived string
    certificateDataFormat string
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments string[]
    A list of environment IDs associated with this resource.
    hasPrivateKey boolean
    Indicates if the certificate has a private key.
    isExpired boolean
    Indicates if the certificate has expired.
    issuerCommonName string
    issuerDistinguishedName string
    issuerOrganization string
    name string
    The name of this resource.
    notAfter string
    notBefore string
    notes string
    password string
    The password associated with this resource.
    replacedBy string
    selfSigned boolean
    serialNumber string
    signatureAlgorithmName string
    spaceId string
    subjectAlternativeNames string[]
    subjectCommonName string
    subjectDistinguishedName string
    subjectOrganization string
    tenantTags string[]
    A list of tenant tags associated with this certificate.
    tenantedDeploymentParticipation string
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants string[]
    A list of tenant IDs associated with this certificate.
    thumbprint string
    version number
    certificate_data str
    The encoded data of the certificate.
    archived str
    certificate_data_format str
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments Sequence[str]
    A list of environment IDs associated with this resource.
    has_private_key bool
    Indicates if the certificate has a private key.
    is_expired bool
    Indicates if the certificate has expired.
    issuer_common_name str
    issuer_distinguished_name str
    issuer_organization str
    name str
    The name of this resource.
    not_after str
    not_before str
    notes str
    password str
    The password associated with this resource.
    replaced_by str
    self_signed bool
    serial_number str
    signature_algorithm_name str
    space_id str
    subject_alternative_names Sequence[str]
    subject_common_name str
    subject_distinguished_name str
    subject_organization str
    tenant_tags Sequence[str]
    A list of tenant tags associated with this certificate.
    tenanted_deployment_participation str
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants Sequence[str]
    A list of tenant IDs associated with this certificate.
    thumbprint str
    version float
    certificateData String
    The encoded data of the certificate.
    archived String
    certificateDataFormat String
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments List<String>
    A list of environment IDs associated with this resource.
    hasPrivateKey Boolean
    Indicates if the certificate has a private key.
    isExpired Boolean
    Indicates if the certificate has expired.
    issuerCommonName String
    issuerDistinguishedName String
    issuerOrganization String
    name String
    The name of this resource.
    notAfter String
    notBefore String
    notes String
    password String
    The password associated with this resource.
    replacedBy String
    selfSigned Boolean
    serialNumber String
    signatureAlgorithmName String
    spaceId String
    subjectAlternativeNames List<String>
    subjectCommonName String
    subjectDistinguishedName String
    subjectOrganization String
    tenantTags List<String>
    A list of tenant tags associated with this certificate.
    tenantedDeploymentParticipation String
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants List<String>
    A list of tenant IDs associated with this certificate.
    thumbprint String
    version Number

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Certificate Resource

    Get an existing Certificate 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?: CertificateState, opts?: CustomResourceOptions): Certificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            archived: Optional[str] = None,
            certificate_data: Optional[str] = None,
            certificate_data_format: Optional[str] = None,
            environments: Optional[Sequence[str]] = None,
            has_private_key: Optional[bool] = None,
            is_expired: Optional[bool] = None,
            issuer_common_name: Optional[str] = None,
            issuer_distinguished_name: Optional[str] = None,
            issuer_organization: Optional[str] = None,
            name: Optional[str] = None,
            not_after: Optional[str] = None,
            not_before: Optional[str] = None,
            notes: Optional[str] = None,
            password: Optional[str] = None,
            replaced_by: Optional[str] = None,
            self_signed: Optional[bool] = None,
            serial_number: Optional[str] = None,
            signature_algorithm_name: Optional[str] = None,
            space_id: Optional[str] = None,
            subject_alternative_names: Optional[Sequence[str]] = None,
            subject_common_name: Optional[str] = None,
            subject_distinguished_name: Optional[str] = None,
            subject_organization: Optional[str] = None,
            tenant_tags: Optional[Sequence[str]] = None,
            tenanted_deployment_participation: Optional[str] = None,
            tenants: Optional[Sequence[str]] = None,
            thumbprint: Optional[str] = None,
            version: Optional[float] = None) -> Certificate
    func GetCertificate(ctx *Context, name string, id IDInput, state *CertificateState, opts ...ResourceOption) (*Certificate, error)
    public static Certificate Get(string name, Input<string> id, CertificateState? state, CustomResourceOptions? opts = null)
    public static Certificate get(String name, Output<String> id, CertificateState state, CustomResourceOptions options)
    resources:  _:    type: octopusdeploy:Certificate    get:      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:
    Archived string
    CertificateData string
    The encoded data of the certificate.
    CertificateDataFormat string
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    Environments List<string>
    A list of environment IDs associated with this resource.
    HasPrivateKey bool
    Indicates if the certificate has a private key.
    IsExpired bool
    Indicates if the certificate has expired.
    IssuerCommonName string
    IssuerDistinguishedName string
    IssuerOrganization string
    Name string
    The name of this resource.
    NotAfter string
    NotBefore string
    Notes string
    Password string
    The password associated with this resource.
    ReplacedBy string
    SelfSigned bool
    SerialNumber string
    SignatureAlgorithmName string
    SpaceId string
    SubjectAlternativeNames List<string>
    SubjectCommonName string
    SubjectDistinguishedName string
    SubjectOrganization string
    TenantTags List<string>
    A list of tenant tags associated with this certificate.
    TenantedDeploymentParticipation string
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    Tenants List<string>
    A list of tenant IDs associated with this certificate.
    Thumbprint string
    Version double
    Archived string
    CertificateData string
    The encoded data of the certificate.
    CertificateDataFormat string
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    Environments []string
    A list of environment IDs associated with this resource.
    HasPrivateKey bool
    Indicates if the certificate has a private key.
    IsExpired bool
    Indicates if the certificate has expired.
    IssuerCommonName string
    IssuerDistinguishedName string
    IssuerOrganization string
    Name string
    The name of this resource.
    NotAfter string
    NotBefore string
    Notes string
    Password string
    The password associated with this resource.
    ReplacedBy string
    SelfSigned bool
    SerialNumber string
    SignatureAlgorithmName string
    SpaceId string
    SubjectAlternativeNames []string
    SubjectCommonName string
    SubjectDistinguishedName string
    SubjectOrganization string
    TenantTags []string
    A list of tenant tags associated with this certificate.
    TenantedDeploymentParticipation string
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    Tenants []string
    A list of tenant IDs associated with this certificate.
    Thumbprint string
    Version float64
    archived String
    certificateData String
    The encoded data of the certificate.
    certificateDataFormat String
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments List<String>
    A list of environment IDs associated with this resource.
    hasPrivateKey Boolean
    Indicates if the certificate has a private key.
    isExpired Boolean
    Indicates if the certificate has expired.
    issuerCommonName String
    issuerDistinguishedName String
    issuerOrganization String
    name String
    The name of this resource.
    notAfter String
    notBefore String
    notes String
    password String
    The password associated with this resource.
    replacedBy String
    selfSigned Boolean
    serialNumber String
    signatureAlgorithmName String
    spaceId String
    subjectAlternativeNames List<String>
    subjectCommonName String
    subjectDistinguishedName String
    subjectOrganization String
    tenantTags List<String>
    A list of tenant tags associated with this certificate.
    tenantedDeploymentParticipation String
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants List<String>
    A list of tenant IDs associated with this certificate.
    thumbprint String
    version Double
    archived string
    certificateData string
    The encoded data of the certificate.
    certificateDataFormat string
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments string[]
    A list of environment IDs associated with this resource.
    hasPrivateKey boolean
    Indicates if the certificate has a private key.
    isExpired boolean
    Indicates if the certificate has expired.
    issuerCommonName string
    issuerDistinguishedName string
    issuerOrganization string
    name string
    The name of this resource.
    notAfter string
    notBefore string
    notes string
    password string
    The password associated with this resource.
    replacedBy string
    selfSigned boolean
    serialNumber string
    signatureAlgorithmName string
    spaceId string
    subjectAlternativeNames string[]
    subjectCommonName string
    subjectDistinguishedName string
    subjectOrganization string
    tenantTags string[]
    A list of tenant tags associated with this certificate.
    tenantedDeploymentParticipation string
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants string[]
    A list of tenant IDs associated with this certificate.
    thumbprint string
    version number
    archived str
    certificate_data str
    The encoded data of the certificate.
    certificate_data_format str
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments Sequence[str]
    A list of environment IDs associated with this resource.
    has_private_key bool
    Indicates if the certificate has a private key.
    is_expired bool
    Indicates if the certificate has expired.
    issuer_common_name str
    issuer_distinguished_name str
    issuer_organization str
    name str
    The name of this resource.
    not_after str
    not_before str
    notes str
    password str
    The password associated with this resource.
    replaced_by str
    self_signed bool
    serial_number str
    signature_algorithm_name str
    space_id str
    subject_alternative_names Sequence[str]
    subject_common_name str
    subject_distinguished_name str
    subject_organization str
    tenant_tags Sequence[str]
    A list of tenant tags associated with this certificate.
    tenanted_deployment_participation str
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants Sequence[str]
    A list of tenant IDs associated with this certificate.
    thumbprint str
    version float
    archived String
    certificateData String
    The encoded data of the certificate.
    certificateDataFormat String
    Specifies the archive file format used for storing cryptography objects in the certificate. Valid formats are Der, Pem, Pkcs12, or Unknown.
    environments List<String>
    A list of environment IDs associated with this resource.
    hasPrivateKey Boolean
    Indicates if the certificate has a private key.
    isExpired Boolean
    Indicates if the certificate has expired.
    issuerCommonName String
    issuerDistinguishedName String
    issuerOrganization String
    name String
    The name of this resource.
    notAfter String
    notBefore String
    notes String
    password String
    The password associated with this resource.
    replacedBy String
    selfSigned Boolean
    serialNumber String
    signatureAlgorithmName String
    spaceId String
    subjectAlternativeNames List<String>
    subjectCommonName String
    subjectDistinguishedName String
    subjectOrganization String
    tenantTags List<String>
    A list of tenant tags associated with this certificate.
    tenantedDeploymentParticipation String
    The tenanted deployment mode of the resource. Valid account types are Untenanted, TenantedOrUntenanted, or Tenanted.
    tenants List<String>
    A list of tenant IDs associated with this certificate.
    thumbprint String
    version Number

    Import

    $ pulumi import octopusdeploy:index/certificate:Certificate [options] octopusdeploy_certificate.<name> <certificate-id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
    License
    Notes
    This Pulumi package is based on the octopusdeploy Terraform Provider.
    octopusdeploy logo
    octopusdeploy 0.43.1 published on Wednesday, Apr 30, 2025 by octopusdeploylabs