1. Packages
  2. Ibm Provider
  3. API Docs
  4. ComputeSslCertificate
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.ComputeSslCertificate

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, and delete a SSL certificate. For more information, about SSL certificate, see accessing SSL certificates.

    Note

    For more information, see the IBM Cloud Classic Infrastructure (SoftLayer) security certificates docs.

    Example Usage

    The example to use a certificate on file:

    import * as pulumi from "@pulumi/pulumi";
    import * as fs from "fs";
    import * as ibm from "@pulumi/ibm";
    
    const testCert = new ibm.ComputeSslCertificate("testCert", {
        certificate: fs.readFileSync("cert.pem", "utf8"),
        privateKey: fs.readFileSync("key.pem", "utf8"),
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_cert = ibm.ComputeSslCertificate("testCert",
        certificate=(lambda path: open(path).read())("cert.pem"),
        private_key=(lambda path: open(path).read())("key.pem"))
    
    package main
    
    import (
    	"os"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func readFileOrPanic(path string) pulumi.StringPtrInput {
    	data, err := os.ReadFile(path)
    	if err != nil {
    		panic(err.Error())
    	}
    	return pulumi.String(string(data))
    }
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewComputeSslCertificate(ctx, "testCert", &ibm.ComputeSslCertificateArgs{
    			Certificate: pulumi.String(readFileOrPanic("cert.pem")),
    			PrivateKey:  pulumi.String(readFileOrPanic("key.pem")),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testCert = new Ibm.ComputeSslCertificate("testCert", new()
        {
            Certificate = File.ReadAllText("cert.pem"),
            PrivateKey = File.ReadAllText("key.pem"),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.ComputeSslCertificate;
    import com.pulumi.ibm.ComputeSslCertificateArgs;
    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 testCert = new ComputeSslCertificate("testCert", ComputeSslCertificateArgs.builder()
                .certificate(Files.readString(Paths.get("cert.pem")))
                .privateKey(Files.readString(Paths.get("key.pem")))
                .build());
    
        }
    }
    
    resources:
      testCert:
        type: ibm:ComputeSslCertificate
        properties:
          certificate:
            fn::readFile: cert.pem
          privateKey:
            fn::readFile: key.pem
    

    The example to use an in-line certificate:

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testCert = new ibm.ComputeSslCertificate("testCert", {
        certificate: `[......] # cert contents
    -----END CERTIFICATE-----
    
    
    `,
        privateKey: `-----BEGIN RSA PRIVATE KEY-----
    [......] # cert contents
    -----END RSA PRIVATE KEY-----
    
    
    `,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_cert = ibm.ComputeSslCertificate("testCert",
        certificate="""[......] # cert contents
    -----END CERTIFICATE-----
    
    
    """,
        private_key="""-----BEGIN RSA PRIVATE KEY-----
    [......] # cert contents
    -----END RSA PRIVATE KEY-----
    
    
    """)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewComputeSslCertificate(ctx, "testCert", &ibm.ComputeSslCertificateArgs{
    			Certificate: pulumi.String("[......] # cert contents\n-----END CERTIFICATE-----\n\n\n"),
    			PrivateKey: pulumi.String(`-----BEGIN RSA PRIVATE KEY-----
    [......] # cert contents
    -----END RSA PRIVATE KEY-----
    
    
    `),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testCert = new Ibm.ComputeSslCertificate("testCert", new()
        {
            Certificate = @"[......] # cert contents
    -----END CERTIFICATE-----
    
    
    ",
            PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
    [......] # cert contents
    -----END RSA PRIVATE KEY-----
    
    
    ",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.ComputeSslCertificate;
    import com.pulumi.ibm.ComputeSslCertificateArgs;
    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 testCert = new ComputeSslCertificate("testCert", ComputeSslCertificateArgs.builder()
                .certificate("""
    [......] # cert contents
    -----END CERTIFICATE-----
    
    
                """)
                .privateKey("""
    -----BEGIN RSA PRIVATE KEY-----
    [......] # cert contents
    -----END RSA PRIVATE KEY-----
    
    
                """)
                .build());
    
        }
    }
    
    resources:
      testCert:
        type: ibm:ComputeSslCertificate
        properties:
          certificate: |+
            [......] # cert contents
            -----END CERTIFICATE-----        
    
    
          privateKey: |+
            -----BEGIN RSA PRIVATE KEY-----
            [......] # cert contents
            -----END RSA PRIVATE KEY-----        
    

    Create ComputeSslCertificate Resource

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

    Constructor syntax

    new ComputeSslCertificate(name: string, args: ComputeSslCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def ComputeSslCertificate(resource_name: str,
                              args: ComputeSslCertificateArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComputeSslCertificate(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              certificate: Optional[str] = None,
                              private_key: Optional[str] = None,
                              compute_ssl_certificate_id: Optional[str] = None,
                              intermediate_certificate: Optional[str] = None,
                              tags: Optional[Sequence[str]] = None)
    func NewComputeSslCertificate(ctx *Context, name string, args ComputeSslCertificateArgs, opts ...ResourceOption) (*ComputeSslCertificate, error)
    public ComputeSslCertificate(string name, ComputeSslCertificateArgs args, CustomResourceOptions? opts = null)
    public ComputeSslCertificate(String name, ComputeSslCertificateArgs args)
    public ComputeSslCertificate(String name, ComputeSslCertificateArgs args, CustomResourceOptions options)
    
    type: ibm:ComputeSslCertificate
    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 ComputeSslCertificateArgs
    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 ComputeSslCertificateArgs
    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 ComputeSslCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComputeSslCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComputeSslCertificateArgs
    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 computeSslCertificateResource = new Ibm.ComputeSslCertificate("computeSslCertificateResource", new()
    {
        Certificate = "string",
        PrivateKey = "string",
        ComputeSslCertificateId = "string",
        IntermediateCertificate = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := ibm.NewComputeSslCertificate(ctx, "computeSslCertificateResource", &ibm.ComputeSslCertificateArgs{
    	Certificate:             pulumi.String("string"),
    	PrivateKey:              pulumi.String("string"),
    	ComputeSslCertificateId: pulumi.String("string"),
    	IntermediateCertificate: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var computeSslCertificateResource = new ComputeSslCertificate("computeSslCertificateResource", ComputeSslCertificateArgs.builder()
        .certificate("string")
        .privateKey("string")
        .computeSslCertificateId("string")
        .intermediateCertificate("string")
        .tags("string")
        .build());
    
    compute_ssl_certificate_resource = ibm.ComputeSslCertificate("computeSslCertificateResource",
        certificate="string",
        private_key="string",
        compute_ssl_certificate_id="string",
        intermediate_certificate="string",
        tags=["string"])
    
    const computeSslCertificateResource = new ibm.ComputeSslCertificate("computeSslCertificateResource", {
        certificate: "string",
        privateKey: "string",
        computeSslCertificateId: "string",
        intermediateCertificate: "string",
        tags: ["string"],
    });
    
    type: ibm:ComputeSslCertificate
    properties:
        certificate: string
        computeSslCertificateId: string
        intermediateCertificate: string
        privateKey: string
        tags:
            - string
    

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

    Certificate string
    The certificate provided publicly to clients requesting identity credentials.
    PrivateKey string
    The private key in the key/certificate pair.
    ComputeSslCertificateId string
    The ID of the certificate record.
    IntermediateCertificate string
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    Tags List<string>
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    Certificate string
    The certificate provided publicly to clients requesting identity credentials.
    PrivateKey string
    The private key in the key/certificate pair.
    ComputeSslCertificateId string
    The ID of the certificate record.
    IntermediateCertificate string
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    Tags []string
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    certificate String
    The certificate provided publicly to clients requesting identity credentials.
    privateKey String
    The private key in the key/certificate pair.
    computeSslCertificateId String
    The ID of the certificate record.
    intermediateCertificate String
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    tags List<String>
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    certificate string
    The certificate provided publicly to clients requesting identity credentials.
    privateKey string
    The private key in the key/certificate pair.
    computeSslCertificateId string
    The ID of the certificate record.
    intermediateCertificate string
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    tags string[]
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    certificate str
    The certificate provided publicly to clients requesting identity credentials.
    private_key str
    The private key in the key/certificate pair.
    compute_ssl_certificate_id str
    The ID of the certificate record.
    intermediate_certificate str
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    tags Sequence[str]
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    certificate String
    The certificate provided publicly to clients requesting identity credentials.
    privateKey String
    The private key in the key/certificate pair.
    computeSslCertificateId String
    The ID of the certificate record.
    intermediateCertificate String
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    tags List<String>
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.

    Outputs

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

    CommonName string
    (String) The common name encoded within the certificate. This name is usually a domain name.
    CreateDate string
    (String) The date the certificate record was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeySize double
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    ModifyDate string
    (String) The date the certificate record was last modified.
    OrganizationName string
    (String) The organizational name encoded in the certificate.
    ValidityBegin string
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    ValidityDays double
    (String) The number of days remaining in the validity period for the certificate.
    ValidityEnd string
    (String) The UTC timestamp representing the end of the certificate's validity period.
    CommonName string
    (String) The common name encoded within the certificate. This name is usually a domain name.
    CreateDate string
    (String) The date the certificate record was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    KeySize float64
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    ModifyDate string
    (String) The date the certificate record was last modified.
    OrganizationName string
    (String) The organizational name encoded in the certificate.
    ValidityBegin string
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    ValidityDays float64
    (String) The number of days remaining in the validity period for the certificate.
    ValidityEnd string
    (String) The UTC timestamp representing the end of the certificate's validity period.
    commonName String
    (String) The common name encoded within the certificate. This name is usually a domain name.
    createDate String
    (String) The date the certificate record was created.
    id String
    The provider-assigned unique ID for this managed resource.
    keySize Double
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modifyDate String
    (String) The date the certificate record was last modified.
    organizationName String
    (String) The organizational name encoded in the certificate.
    validityBegin String
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validityDays Double
    (String) The number of days remaining in the validity period for the certificate.
    validityEnd String
    (String) The UTC timestamp representing the end of the certificate's validity period.
    commonName string
    (String) The common name encoded within the certificate. This name is usually a domain name.
    createDate string
    (String) The date the certificate record was created.
    id string
    The provider-assigned unique ID for this managed resource.
    keySize number
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modifyDate string
    (String) The date the certificate record was last modified.
    organizationName string
    (String) The organizational name encoded in the certificate.
    validityBegin string
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validityDays number
    (String) The number of days remaining in the validity period for the certificate.
    validityEnd string
    (String) The UTC timestamp representing the end of the certificate's validity period.
    common_name str
    (String) The common name encoded within the certificate. This name is usually a domain name.
    create_date str
    (String) The date the certificate record was created.
    id str
    The provider-assigned unique ID for this managed resource.
    key_size float
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modify_date str
    (String) The date the certificate record was last modified.
    organization_name str
    (String) The organizational name encoded in the certificate.
    validity_begin str
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validity_days float
    (String) The number of days remaining in the validity period for the certificate.
    validity_end str
    (String) The UTC timestamp representing the end of the certificate's validity period.
    commonName String
    (String) The common name encoded within the certificate. This name is usually a domain name.
    createDate String
    (String) The date the certificate record was created.
    id String
    The provider-assigned unique ID for this managed resource.
    keySize Number
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modifyDate String
    (String) The date the certificate record was last modified.
    organizationName String
    (String) The organizational name encoded in the certificate.
    validityBegin String
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validityDays Number
    (String) The number of days remaining in the validity period for the certificate.
    validityEnd String
    (String) The UTC timestamp representing the end of the certificate's validity period.

    Look up Existing ComputeSslCertificate Resource

    Get an existing ComputeSslCertificate 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?: ComputeSslCertificateState, opts?: CustomResourceOptions): ComputeSslCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate: Optional[str] = None,
            common_name: Optional[str] = None,
            compute_ssl_certificate_id: Optional[str] = None,
            create_date: Optional[str] = None,
            intermediate_certificate: Optional[str] = None,
            key_size: Optional[float] = None,
            modify_date: Optional[str] = None,
            organization_name: Optional[str] = None,
            private_key: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            validity_begin: Optional[str] = None,
            validity_days: Optional[float] = None,
            validity_end: Optional[str] = None) -> ComputeSslCertificate
    func GetComputeSslCertificate(ctx *Context, name string, id IDInput, state *ComputeSslCertificateState, opts ...ResourceOption) (*ComputeSslCertificate, error)
    public static ComputeSslCertificate Get(string name, Input<string> id, ComputeSslCertificateState? state, CustomResourceOptions? opts = null)
    public static ComputeSslCertificate get(String name, Output<String> id, ComputeSslCertificateState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ComputeSslCertificate    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:
    Certificate string
    The certificate provided publicly to clients requesting identity credentials.
    CommonName string
    (String) The common name encoded within the certificate. This name is usually a domain name.
    ComputeSslCertificateId string
    The ID of the certificate record.
    CreateDate string
    (String) The date the certificate record was created.
    IntermediateCertificate string
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    KeySize double
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    ModifyDate string
    (String) The date the certificate record was last modified.
    OrganizationName string
    (String) The organizational name encoded in the certificate.
    PrivateKey string
    The private key in the key/certificate pair.
    Tags List<string>
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    ValidityBegin string
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    ValidityDays double
    (String) The number of days remaining in the validity period for the certificate.
    ValidityEnd string
    (String) The UTC timestamp representing the end of the certificate's validity period.
    Certificate string
    The certificate provided publicly to clients requesting identity credentials.
    CommonName string
    (String) The common name encoded within the certificate. This name is usually a domain name.
    ComputeSslCertificateId string
    The ID of the certificate record.
    CreateDate string
    (String) The date the certificate record was created.
    IntermediateCertificate string
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    KeySize float64
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    ModifyDate string
    (String) The date the certificate record was last modified.
    OrganizationName string
    (String) The organizational name encoded in the certificate.
    PrivateKey string
    The private key in the key/certificate pair.
    Tags []string
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    ValidityBegin string
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    ValidityDays float64
    (String) The number of days remaining in the validity period for the certificate.
    ValidityEnd string
    (String) The UTC timestamp representing the end of the certificate's validity period.
    certificate String
    The certificate provided publicly to clients requesting identity credentials.
    commonName String
    (String) The common name encoded within the certificate. This name is usually a domain name.
    computeSslCertificateId String
    The ID of the certificate record.
    createDate String
    (String) The date the certificate record was created.
    intermediateCertificate String
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    keySize Double
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modifyDate String
    (String) The date the certificate record was last modified.
    organizationName String
    (String) The organizational name encoded in the certificate.
    privateKey String
    The private key in the key/certificate pair.
    tags List<String>
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    validityBegin String
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validityDays Double
    (String) The number of days remaining in the validity period for the certificate.
    validityEnd String
    (String) The UTC timestamp representing the end of the certificate's validity period.
    certificate string
    The certificate provided publicly to clients requesting identity credentials.
    commonName string
    (String) The common name encoded within the certificate. This name is usually a domain name.
    computeSslCertificateId string
    The ID of the certificate record.
    createDate string
    (String) The date the certificate record was created.
    intermediateCertificate string
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    keySize number
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modifyDate string
    (String) The date the certificate record was last modified.
    organizationName string
    (String) The organizational name encoded in the certificate.
    privateKey string
    The private key in the key/certificate pair.
    tags string[]
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    validityBegin string
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validityDays number
    (String) The number of days remaining in the validity period for the certificate.
    validityEnd string
    (String) The UTC timestamp representing the end of the certificate's validity period.
    certificate str
    The certificate provided publicly to clients requesting identity credentials.
    common_name str
    (String) The common name encoded within the certificate. This name is usually a domain name.
    compute_ssl_certificate_id str
    The ID of the certificate record.
    create_date str
    (String) The date the certificate record was created.
    intermediate_certificate str
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    key_size float
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modify_date str
    (String) The date the certificate record was last modified.
    organization_name str
    (String) The organizational name encoded in the certificate.
    private_key str
    The private key in the key/certificate pair.
    tags Sequence[str]
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    validity_begin str
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validity_days float
    (String) The number of days remaining in the validity period for the certificate.
    validity_end str
    (String) The UTC timestamp representing the end of the certificate's validity period.
    certificate String
    The certificate provided publicly to clients requesting identity credentials.
    commonName String
    (String) The common name encoded within the certificate. This name is usually a domain name.
    computeSslCertificateId String
    The ID of the certificate record.
    createDate String
    (String) The date the certificate record was created.
    intermediateCertificate String
    The certificate from the intermediate certificate authority, or chain certificate, that completes the chain of trust. Required when clients only trust the root certificate.
    keySize Number
    (String) The size, expressed in number of bits, of the public key represented by the certificate.
    modifyDate String
    (String) The date the certificate record was last modified.
    organizationName String
    (String) The organizational name encoded in the certificate.
    privateKey String
    The private key in the key/certificate pair.
    tags List<String>
    Tags associated with the security certificates instance. Note Tags are managed locally and not stored on the IBM Cloud Service Endpoint at this moment.
    validityBegin String
    (String) The UTC timestamp representing the beginning of the certificate's validity.
    validityDays Number
    (String) The number of days remaining in the validity period for the certificate.
    validityEnd String
    (String) The UTC timestamp representing the end of the certificate's validity period.

    Package Details

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