published on Tuesday, Mar 24, 2026 by g-core
published on Tuesday, Mar 24, 2026 by g-core
Trusted CA certificates verify the authenticity of CDN origin servers during HTTPS connections.
Example Usage
Create CdnTrustedCaCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdnTrustedCaCertificate(name: string, args: CdnTrustedCaCertificateArgs, opts?: CustomResourceOptions);@overload
def CdnTrustedCaCertificate(resource_name: str,
args: CdnTrustedCaCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdnTrustedCaCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
ssl_certificate: Optional[str] = None,
name: Optional[str] = None)func NewCdnTrustedCaCertificate(ctx *Context, name string, args CdnTrustedCaCertificateArgs, opts ...ResourceOption) (*CdnTrustedCaCertificate, error)public CdnTrustedCaCertificate(string name, CdnTrustedCaCertificateArgs args, CustomResourceOptions? opts = null)
public CdnTrustedCaCertificate(String name, CdnTrustedCaCertificateArgs args)
public CdnTrustedCaCertificate(String name, CdnTrustedCaCertificateArgs args, CustomResourceOptions options)
type: gcore:CdnTrustedCaCertificate
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 CdnTrustedCaCertificateArgs
- 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 CdnTrustedCaCertificateArgs
- 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 CdnTrustedCaCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdnTrustedCaCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdnTrustedCaCertificateArgs
- 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 cdnTrustedCaCertificateResource = new Gcore.CdnTrustedCaCertificate("cdnTrustedCaCertificateResource", new()
{
SslCertificate = "string",
Name = "string",
});
example, err := gcore.NewCdnTrustedCaCertificate(ctx, "cdnTrustedCaCertificateResource", &gcore.CdnTrustedCaCertificateArgs{
SslCertificate: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cdnTrustedCaCertificateResource = new CdnTrustedCaCertificate("cdnTrustedCaCertificateResource", CdnTrustedCaCertificateArgs.builder()
.sslCertificate("string")
.name("string")
.build());
cdn_trusted_ca_certificate_resource = gcore.CdnTrustedCaCertificate("cdnTrustedCaCertificateResource",
ssl_certificate="string",
name="string")
const cdnTrustedCaCertificateResource = new gcore.CdnTrustedCaCertificate("cdnTrustedCaCertificateResource", {
sslCertificate: "string",
name: "string",
});
type: gcore:CdnTrustedCaCertificate
properties:
name: string
sslCertificate: string
CdnTrustedCaCertificate 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 CdnTrustedCaCertificate resource accepts the following input properties:
- Ssl
Certificate string Public part of the CA certificate.
It must be in the PEM format.
- Name string
- CA certificate name.
- Ssl
Certificate string Public part of the CA certificate.
It must be in the PEM format.
- Name string
- CA certificate name.
- ssl
Certificate String Public part of the CA certificate.
It must be in the PEM format.
- name String
- CA certificate name.
- ssl
Certificate string Public part of the CA certificate.
It must be in the PEM format.
- name string
- CA certificate name.
- ssl_
certificate str Public part of the CA certificate.
It must be in the PEM format.
- name str
- CA certificate name.
- ssl
Certificate String Public part of the CA certificate.
It must be in the PEM format.
- name String
- CA certificate name.
Outputs
All input properties are implicitly available as output properties. Additionally, the CdnTrustedCaCertificate resource produces the following output properties:
- Cdn
Trusted doubleCa Certificate Id - CA certificate ID.
- Cert
Issuer string - Name of the certification center that issued the CA certificate.
- Cert
Subject stringAlt - Alternative domain names that the CA certificate secures.
- Cert
Subject stringCn - Domain name that the CA 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.
- bool
Defines whether the CA 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.
- Ssl
Certificate stringChain - Parameter is deprecated.
- Validity
Not stringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- Validity
Not stringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- Cdn
Trusted float64Ca Certificate Id - CA certificate ID.
- Cert
Issuer string - Name of the certification center that issued the CA certificate.
- Cert
Subject stringAlt - Alternative domain names that the CA certificate secures.
- Cert
Subject stringCn - Domain name that the CA 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.
- bool
Defines whether the CA 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.
- Ssl
Certificate stringChain - Parameter is deprecated.
- Validity
Not stringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- Validity
Not stringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn
Trusted DoubleCa Certificate Id - CA certificate ID.
- cert
Issuer String - Name of the certification center that issued the CA certificate.
- cert
Subject StringAlt - Alternative domain names that the CA certificate secures.
- cert
Subject StringCn - Domain name that the CA 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.
- Boolean
Defines whether the CA 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.
- ssl
Certificate StringChain - Parameter is deprecated.
- validity
Not StringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not StringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn
Trusted numberCa Certificate Id - CA certificate ID.
- cert
Issuer string - Name of the certification center that issued the CA certificate.
- cert
Subject stringAlt - Alternative domain names that the CA certificate secures.
- cert
Subject stringCn - Domain name that the CA 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.
- boolean
Defines whether the CA 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.
- ssl
Certificate stringChain - Parameter is deprecated.
- validity
Not stringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not stringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn_
trusted_ floatca_ certificate_ id - CA certificate ID.
- cert_
issuer str - Name of the certification center that issued the CA certificate.
- cert_
subject_ stralt - Alternative domain names that the CA certificate secures.
- cert_
subject_ strcn - Domain name that the CA 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.
- bool
Defines whether the CA 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_ strchain - Parameter is deprecated.
- validity_
not_ strafter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity_
not_ strbefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn
Trusted NumberCa Certificate Id - CA certificate ID.
- cert
Issuer String - Name of the certification center that issued the CA certificate.
- cert
Subject StringAlt - Alternative domain names that the CA certificate secures.
- cert
Subject StringCn - Domain name that the CA 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.
- Boolean
Defines whether the CA 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.
- ssl
Certificate StringChain - Parameter is deprecated.
- validity
Not StringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not StringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
Look up Existing CdnTrustedCaCertificate Resource
Get an existing CdnTrustedCaCertificate 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?: CdnTrustedCaCertificateState, opts?: CustomResourceOptions): CdnTrustedCaCertificate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cdn_trusted_ca_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: Optional[str] = None,
ssl_certificate_chain: Optional[str] = None,
validity_not_after: Optional[str] = None,
validity_not_before: Optional[str] = None) -> CdnTrustedCaCertificatefunc GetCdnTrustedCaCertificate(ctx *Context, name string, id IDInput, state *CdnTrustedCaCertificateState, opts ...ResourceOption) (*CdnTrustedCaCertificate, error)public static CdnTrustedCaCertificate Get(string name, Input<string> id, CdnTrustedCaCertificateState? state, CustomResourceOptions? opts = null)public static CdnTrustedCaCertificate get(String name, Output<String> id, CdnTrustedCaCertificateState state, CustomResourceOptions options)resources: _: type: gcore:CdnTrustedCaCertificate 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.
- Cdn
Trusted doubleCa Certificate Id - CA certificate ID.
- Cert
Issuer string - Name of the certification center that issued the CA certificate.
- Cert
Subject stringAlt - Alternative domain names that the CA certificate secures.
- Cert
Subject stringCn - Domain name that the CA 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.
- bool
Defines whether the CA 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
- CA certificate name.
- Ssl
Certificate string Public part of the CA certificate.
It must be in the PEM format.
- Ssl
Certificate stringChain - Parameter is deprecated.
- Validity
Not stringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- Validity
Not stringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- Cdn
Trusted float64Ca Certificate Id - CA certificate ID.
- Cert
Issuer string - Name of the certification center that issued the CA certificate.
- Cert
Subject stringAlt - Alternative domain names that the CA certificate secures.
- Cert
Subject stringCn - Domain name that the CA 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.
- bool
Defines whether the CA 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
- CA certificate name.
- Ssl
Certificate string Public part of the CA certificate.
It must be in the PEM format.
- Ssl
Certificate stringChain - Parameter is deprecated.
- Validity
Not stringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- Validity
Not stringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn
Trusted DoubleCa Certificate Id - CA certificate ID.
- cert
Issuer String - Name of the certification center that issued the CA certificate.
- cert
Subject StringAlt - Alternative domain names that the CA certificate secures.
- cert
Subject StringCn - Domain name that the CA 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.
- Boolean
Defines whether the CA 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
- CA certificate name.
- ssl
Certificate String Public part of the CA certificate.
It must be in the PEM format.
- ssl
Certificate StringChain - Parameter is deprecated.
- validity
Not StringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not StringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn
Trusted numberCa Certificate Id - CA certificate ID.
- cert
Issuer string - Name of the certification center that issued the CA certificate.
- cert
Subject stringAlt - Alternative domain names that the CA certificate secures.
- cert
Subject stringCn - Domain name that the CA 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.
- boolean
Defines whether the CA 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
- CA certificate name.
- ssl
Certificate string Public part of the CA certificate.
It must be in the PEM format.
- ssl
Certificate stringChain - Parameter is deprecated.
- validity
Not stringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not stringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn_
trusted_ floatca_ certificate_ id - CA certificate ID.
- cert_
issuer str - Name of the certification center that issued the CA certificate.
- cert_
subject_ stralt - Alternative domain names that the CA certificate secures.
- cert_
subject_ strcn - Domain name that the CA 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.
- bool
Defines whether the CA 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
- CA certificate name.
- ssl_
certificate str Public part of the CA certificate.
It must be in the PEM format.
- ssl_
certificate_ strchain - Parameter is deprecated.
- validity_
not_ strafter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity_
not_ strbefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
- cdn
Trusted NumberCa Certificate Id - CA certificate ID.
- cert
Issuer String - Name of the certification center that issued the CA certificate.
- cert
Subject StringAlt - Alternative domain names that the CA certificate secures.
- cert
Subject StringCn - Domain name that the CA 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.
- Boolean
Defines whether the CA 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
- CA certificate name.
- ssl
Certificate String Public part of the CA certificate.
It must be in the PEM format.
- ssl
Certificate StringChain - Parameter is deprecated.
- validity
Not StringAfter - Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)
- validity
Not StringBefore - Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)
Import
$ pulumi import gcore:index/cdnTrustedCaCertificate:CdnTrustedCaCertificate example '<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
gcoreTerraform Provider.
published on Tuesday, Mar 24, 2026 by g-core
