1. Packages
  2. Gcore Provider
  3. API Docs
  4. CdnCertificate
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
gcore logo
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core

    CDN SSL certificates enable HTTPS content delivery, supporting both uploaded certificates and automated Let’s Encrypt provisioning.

    Example Usage

    Create CdnCertificate Resource

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

    Constructor syntax

    new CdnCertificate(name: string, args?: CdnCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def CdnCertificate(resource_name: str,
                       args: Optional[CdnCertificateArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdnCertificate(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       automated: Optional[bool] = None,
                       name: Optional[str] = None,
                       ssl_certificate_wo: Optional[str] = None,
                       ssl_certificate_wo_version: Optional[float] = None,
                       ssl_private_key_wo: Optional[str] = None,
                       validate_root_ca: Optional[bool] = None)
    func NewCdnCertificate(ctx *Context, name string, args *CdnCertificateArgs, opts ...ResourceOption) (*CdnCertificate, error)
    public CdnCertificate(string name, CdnCertificateArgs? args = null, CustomResourceOptions? opts = null)
    public CdnCertificate(String name, CdnCertificateArgs args)
    public CdnCertificate(String name, CdnCertificateArgs args, CustomResourceOptions options)
    
    type: gcore:CdnCertificate
    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 CdnCertificateArgs
    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 CdnCertificateArgs
    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 CdnCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdnCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdnCertificateArgs
    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 cdnCertificateResource = new Gcore.CdnCertificate("cdnCertificateResource", new()
    {
        Automated = false,
        Name = "string",
        SslCertificateWo = "string",
        SslCertificateWoVersion = 0,
        SslPrivateKeyWo = "string",
        ValidateRootCa = false,
    });
    
    example, err := gcore.NewCdnCertificate(ctx, "cdnCertificateResource", &gcore.CdnCertificateArgs{
    	Automated:               pulumi.Bool(false),
    	Name:                    pulumi.String("string"),
    	SslCertificateWo:        pulumi.String("string"),
    	SslCertificateWoVersion: pulumi.Float64(0),
    	SslPrivateKeyWo:         pulumi.String("string"),
    	ValidateRootCa:          pulumi.Bool(false),
    })
    
    var cdnCertificateResource = new CdnCertificate("cdnCertificateResource", CdnCertificateArgs.builder()
        .automated(false)
        .name("string")
        .sslCertificateWo("string")
        .sslCertificateWoVersion(0.0)
        .sslPrivateKeyWo("string")
        .validateRootCa(false)
        .build());
    
    cdn_certificate_resource = gcore.CdnCertificate("cdnCertificateResource",
        automated=False,
        name="string",
        ssl_certificate_wo="string",
        ssl_certificate_wo_version=0,
        ssl_private_key_wo="string",
        validate_root_ca=False)
    
    const cdnCertificateResource = new gcore.CdnCertificate("cdnCertificateResource", {
        automated: false,
        name: "string",
        sslCertificateWo: "string",
        sslCertificateWoVersion: 0,
        sslPrivateKeyWo: "string",
        validateRootCa: false,
    });
    
    type: gcore:CdnCertificate
    properties:
        automated: false
        name: string
        sslCertificateWo: string
        sslCertificateWoVersion: 0
        sslPrivateKeyWo: string
        validateRootCa: false
    

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

    Automated bool
    Must be true to issue certificate automatically.
    Name string
    SSL certificate name.
    SslCertificateWo string

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    SslCertificateWoVersion double
    SslPrivateKeyWo string
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    ValidateRootCa bool

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    Automated bool
    Must be true to issue certificate automatically.
    Name string
    SSL certificate name.
    SslCertificateWo string

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    SslCertificateWoVersion float64
    SslPrivateKeyWo string
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    ValidateRootCa bool

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    automated Boolean
    Must be true to issue certificate automatically.
    name String
    SSL certificate name.
    sslCertificateWo String

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    sslCertificateWoVersion Double
    sslPrivateKeyWo String
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validateRootCa Boolean

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    automated boolean
    Must be true to issue certificate automatically.
    name string
    SSL certificate name.
    sslCertificateWo string

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    sslCertificateWoVersion number
    sslPrivateKeyWo string
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validateRootCa boolean

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    automated bool
    Must be true to issue certificate automatically.
    name str
    SSL certificate name.
    ssl_certificate_wo str

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    ssl_certificate_wo_version float
    ssl_private_key_wo str
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validate_root_ca bool

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    automated Boolean
    Must be true to issue certificate automatically.
    name String
    SSL certificate name.
    sslCertificateWo String

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    sslCertificateWoVersion Number
    sslPrivateKeyWo String
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validateRootCa Boolean

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.

    Outputs

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

    CdnCertificateId double
    SSL certificate ID.
    CertIssuer string
    Name of the certification center issued the SSL certificate.
    CertSubjectAlt string
    Alternative domain names that the SSL certificate secures.
    CertSubjectCn string
    Domain name that the SSL certificate secures.
    Deleted bool

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    HasRelatedResources bool

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    SslCertificateChain string
    Parameter is deprecated.
    SslId double
    ValidityNotAfter string
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    ValidityNotBefore string
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    CdnCertificateId float64
    SSL certificate ID.
    CertIssuer string
    Name of the certification center issued the SSL certificate.
    CertSubjectAlt string
    Alternative domain names that the SSL certificate secures.
    CertSubjectCn string
    Domain name that the SSL certificate secures.
    Deleted bool

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    HasRelatedResources bool

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    SslCertificateChain string
    Parameter is deprecated.
    SslId float64
    ValidityNotAfter string
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    ValidityNotBefore string
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    cdnCertificateId Double
    SSL certificate ID.
    certIssuer String
    Name of the certification center issued the SSL certificate.
    certSubjectAlt String
    Alternative domain names that the SSL certificate secures.
    certSubjectCn String
    Domain name that the SSL certificate secures.
    deleted Boolean

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    hasRelatedResources Boolean

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id String
    The provider-assigned unique ID for this managed resource.
    sslCertificateChain String
    Parameter is deprecated.
    sslId Double
    validityNotAfter String
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore String
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    cdnCertificateId number
    SSL certificate ID.
    certIssuer string
    Name of the certification center issued the SSL certificate.
    certSubjectAlt string
    Alternative domain names that the SSL certificate secures.
    certSubjectCn string
    Domain name that the SSL certificate secures.
    deleted boolean

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    hasRelatedResources boolean

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id string
    The provider-assigned unique ID for this managed resource.
    sslCertificateChain string
    Parameter is deprecated.
    sslId number
    validityNotAfter string
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore string
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    cdn_certificate_id float
    SSL certificate ID.
    cert_issuer str
    Name of the certification center issued the SSL certificate.
    cert_subject_alt str
    Alternative domain names that the SSL certificate secures.
    cert_subject_cn str
    Domain name that the SSL certificate secures.
    deleted bool

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    has_related_resources bool

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id str
    The provider-assigned unique ID for this managed resource.
    ssl_certificate_chain str
    Parameter is deprecated.
    ssl_id float
    validity_not_after str
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validity_not_before str
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    cdnCertificateId Number
    SSL certificate ID.
    certIssuer String
    Name of the certification center issued the SSL certificate.
    certSubjectAlt String
    Alternative domain names that the SSL certificate secures.
    certSubjectCn String
    Domain name that the SSL certificate secures.
    deleted Boolean

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    hasRelatedResources Boolean

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    id String
    The provider-assigned unique ID for this managed resource.
    sslCertificateChain String
    Parameter is deprecated.
    sslId Number
    validityNotAfter String
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore String
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)

    Look up Existing CdnCertificate Resource

    Get an existing CdnCertificate 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?: CdnCertificateState, opts?: CustomResourceOptions): CdnCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            automated: Optional[bool] = None,
            cdn_certificate_id: Optional[float] = None,
            cert_issuer: Optional[str] = None,
            cert_subject_alt: Optional[str] = None,
            cert_subject_cn: Optional[str] = None,
            deleted: Optional[bool] = None,
            has_related_resources: Optional[bool] = None,
            name: Optional[str] = None,
            ssl_certificate_chain: Optional[str] = None,
            ssl_certificate_wo: Optional[str] = None,
            ssl_certificate_wo_version: Optional[float] = None,
            ssl_id: Optional[float] = None,
            ssl_private_key_wo: Optional[str] = None,
            validate_root_ca: Optional[bool] = None,
            validity_not_after: Optional[str] = None,
            validity_not_before: Optional[str] = None) -> CdnCertificate
    func GetCdnCertificate(ctx *Context, name string, id IDInput, state *CdnCertificateState, opts ...ResourceOption) (*CdnCertificate, error)
    public static CdnCertificate Get(string name, Input<string> id, CdnCertificateState? state, CustomResourceOptions? opts = null)
    public static CdnCertificate get(String name, Output<String> id, CdnCertificateState state, CustomResourceOptions options)
    resources:  _:    type: gcore:CdnCertificate    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:
    Automated bool
    Must be true to issue certificate automatically.
    CdnCertificateId double
    SSL certificate ID.
    CertIssuer string
    Name of the certification center issued the SSL certificate.
    CertSubjectAlt string
    Alternative domain names that the SSL certificate secures.
    CertSubjectCn string
    Domain name that the SSL certificate secures.
    Deleted bool

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    HasRelatedResources bool

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    Name string
    SSL certificate name.
    SslCertificateChain string
    Parameter is deprecated.
    SslCertificateWo string

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    SslCertificateWoVersion double
    SslId double
    SslPrivateKeyWo string
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    ValidateRootCa bool

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    ValidityNotAfter string
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    ValidityNotBefore string
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    Automated bool
    Must be true to issue certificate automatically.
    CdnCertificateId float64
    SSL certificate ID.
    CertIssuer string
    Name of the certification center issued the SSL certificate.
    CertSubjectAlt string
    Alternative domain names that the SSL certificate secures.
    CertSubjectCn string
    Domain name that the SSL certificate secures.
    Deleted bool

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    HasRelatedResources bool

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    Name string
    SSL certificate name.
    SslCertificateChain string
    Parameter is deprecated.
    SslCertificateWo string

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    SslCertificateWoVersion float64
    SslId float64
    SslPrivateKeyWo string
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    ValidateRootCa bool

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    ValidityNotAfter string
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    ValidityNotBefore string
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    automated Boolean
    Must be true to issue certificate automatically.
    cdnCertificateId Double
    SSL certificate ID.
    certIssuer String
    Name of the certification center issued the SSL certificate.
    certSubjectAlt String
    Alternative domain names that the SSL certificate secures.
    certSubjectCn String
    Domain name that the SSL certificate secures.
    deleted Boolean

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    hasRelatedResources Boolean

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    name String
    SSL certificate name.
    sslCertificateChain String
    Parameter is deprecated.
    sslCertificateWo String

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    sslCertificateWoVersion Double
    sslId Double
    sslPrivateKeyWo String
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validateRootCa Boolean

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    validityNotAfter String
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore String
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    automated boolean
    Must be true to issue certificate automatically.
    cdnCertificateId number
    SSL certificate ID.
    certIssuer string
    Name of the certification center issued the SSL certificate.
    certSubjectAlt string
    Alternative domain names that the SSL certificate secures.
    certSubjectCn string
    Domain name that the SSL certificate secures.
    deleted boolean

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    hasRelatedResources boolean

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    name string
    SSL certificate name.
    sslCertificateChain string
    Parameter is deprecated.
    sslCertificateWo string

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    sslCertificateWoVersion number
    sslId number
    sslPrivateKeyWo string
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validateRootCa boolean

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    validityNotAfter string
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore string
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    automated bool
    Must be true to issue certificate automatically.
    cdn_certificate_id float
    SSL certificate ID.
    cert_issuer str
    Name of the certification center issued the SSL certificate.
    cert_subject_alt str
    Alternative domain names that the SSL certificate secures.
    cert_subject_cn str
    Domain name that the SSL certificate secures.
    deleted bool

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    has_related_resources bool

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    name str
    SSL certificate name.
    ssl_certificate_chain str
    Parameter is deprecated.
    ssl_certificate_wo str

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    ssl_certificate_wo_version float
    ssl_id float
    ssl_private_key_wo str
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validate_root_ca bool

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    validity_not_after str
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validity_not_before str
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)
    automated Boolean
    Must be true to issue certificate automatically.
    cdnCertificateId Number
    SSL certificate ID.
    certIssuer String
    Name of the certification center issued the SSL certificate.
    certSubjectAlt String
    Alternative domain names that the SSL certificate secures.
    certSubjectCn String
    Domain name that the SSL certificate secures.
    deleted Boolean

    Defines whether the certificate has been deleted. Parameter is deprecated.

    Possible values:

    • true - Certificate has been deleted.
    • false - Certificate has not been deleted.
    hasRelatedResources Boolean

    Defines whether the SSL certificate is used by a CDN resource.

    Possible values:

    • true - Certificate is used by a CDN resource.
    • false - Certificate is not used by a CDN resource.
    name String
    SSL certificate name.
    sslCertificateChain String
    Parameter is deprecated.
    sslCertificateWo String

    Public part of the SSL certificate.

    All chain of the SSL certificate should be added. This is a write-only field — it will be sent to the API but never stored in state.

    sslCertificateWoVersion Number
    sslId Number
    sslPrivateKeyWo String
    Private key of the SSL certificate. This is a write-only field — it will be sent to the API but never stored in state.
    validateRootCa Boolean

    Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

    Possible values:

    • true - SSL certificate must be verified to be signed by a trusted certificate authority.
    • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
    validityNotAfter String
    Date when certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
    validityNotBefore String
    Date when certificate become valid (ISO 8601/RFC 3339 format, UTC.)

    Import

    $ pulumi import gcore:index/cdnCertificate:CdnCertificate example '<ssl_id>'
    

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

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    Viewing docs for gcore 2.0.0-alpha.2
    published on Tuesday, Mar 24, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.