1. Packages
  2. Packages
  3. Twingate
  4. API Docs
  5. TwingateX509CertificateAuthority
Viewing docs for Twingate v4.1.0
published on Monday, Apr 13, 2026 by Twingate
twingate logo
Viewing docs for Twingate v4.1.0
published on Monday, Apr 13, 2026 by Twingate

    X509 Certificate Authorities allow Twingate to verify certificates presented by resources during TLS connections.

    Create TwingateX509CertificateAuthority Resource

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

    Constructor syntax

    new TwingateX509CertificateAuthority(name: string, args: TwingateX509CertificateAuthorityArgs, opts?: CustomResourceOptions);
    @overload
    def TwingateX509CertificateAuthority(resource_name: str,
                                         args: TwingateX509CertificateAuthorityArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def TwingateX509CertificateAuthority(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         certificate: Optional[str] = None,
                                         name: Optional[str] = None)
    func NewTwingateX509CertificateAuthority(ctx *Context, name string, args TwingateX509CertificateAuthorityArgs, opts ...ResourceOption) (*TwingateX509CertificateAuthority, error)
    public TwingateX509CertificateAuthority(string name, TwingateX509CertificateAuthorityArgs args, CustomResourceOptions? opts = null)
    public TwingateX509CertificateAuthority(String name, TwingateX509CertificateAuthorityArgs args)
    public TwingateX509CertificateAuthority(String name, TwingateX509CertificateAuthorityArgs args, CustomResourceOptions options)
    
    type: twingate:TwingateX509CertificateAuthority
    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 TwingateX509CertificateAuthorityArgs
    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 TwingateX509CertificateAuthorityArgs
    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 TwingateX509CertificateAuthorityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TwingateX509CertificateAuthorityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TwingateX509CertificateAuthorityArgs
    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 twingateX509CertificateAuthorityResource = new Twingate.TwingateX509CertificateAuthority("twingateX509CertificateAuthorityResource", new()
    {
        Certificate = "string",
        Name = "string",
    });
    
    example, err := twingate.NewTwingateX509CertificateAuthority(ctx, "twingateX509CertificateAuthorityResource", &twingate.TwingateX509CertificateAuthorityArgs{
    	Certificate: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var twingateX509CertificateAuthorityResource = new TwingateX509CertificateAuthority("twingateX509CertificateAuthorityResource", TwingateX509CertificateAuthorityArgs.builder()
        .certificate("string")
        .name("string")
        .build());
    
    twingate_x509_certificate_authority_resource = twingate.TwingateX509CertificateAuthority("twingateX509CertificateAuthorityResource",
        certificate="string",
        name="string")
    
    const twingateX509CertificateAuthorityResource = new twingate.TwingateX509CertificateAuthority("twingateX509CertificateAuthorityResource", {
        certificate: "string",
        name: "string",
    });
    
    type: twingate:TwingateX509CertificateAuthority
    properties:
        certificate: string
        name: string
    

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

    Certificate string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    Name string
    The name of the X509 Certificate Authority.
    Certificate string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    Name string
    The name of the X509 Certificate Authority.
    certificate String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    name String
    The name of the X509 Certificate Authority.
    certificate string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    name string
    The name of the X509 Certificate Authority.
    certificate str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    name str
    The name of the X509 Certificate Authority.
    certificate String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    name String
    The name of the X509 Certificate Authority.

    Outputs

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

    Fingerprint string
    The SHA-256 fingerprint of the X509 certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    Fingerprint string
    The SHA-256 fingerprint of the X509 certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    fingerprint String
    The SHA-256 fingerprint of the X509 certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    fingerprint string
    The SHA-256 fingerprint of the X509 certificate.
    id string
    The provider-assigned unique ID for this managed resource.
    fingerprint str
    The SHA-256 fingerprint of the X509 certificate.
    id str
    The provider-assigned unique ID for this managed resource.
    fingerprint String
    The SHA-256 fingerprint of the X509 certificate.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TwingateX509CertificateAuthority Resource

    Get an existing TwingateX509CertificateAuthority 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?: TwingateX509CertificateAuthorityState, opts?: CustomResourceOptions): TwingateX509CertificateAuthority
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate: Optional[str] = None,
            fingerprint: Optional[str] = None,
            name: Optional[str] = None) -> TwingateX509CertificateAuthority
    func GetTwingateX509CertificateAuthority(ctx *Context, name string, id IDInput, state *TwingateX509CertificateAuthorityState, opts ...ResourceOption) (*TwingateX509CertificateAuthority, error)
    public static TwingateX509CertificateAuthority Get(string name, Input<string> id, TwingateX509CertificateAuthorityState? state, CustomResourceOptions? opts = null)
    public static TwingateX509CertificateAuthority get(String name, Output<String> id, TwingateX509CertificateAuthorityState state, CustomResourceOptions options)
    resources:  _:    type: twingate:TwingateX509CertificateAuthority    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
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    Fingerprint string
    The SHA-256 fingerprint of the X509 certificate.
    Name string
    The name of the X509 Certificate Authority.
    Certificate string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    Fingerprint string
    The SHA-256 fingerprint of the X509 certificate.
    Name string
    The name of the X509 Certificate Authority.
    certificate String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    fingerprint String
    The SHA-256 fingerprint of the X509 certificate.
    name String
    The name of the X509 Certificate Authority.
    certificate string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    fingerprint string
    The SHA-256 fingerprint of the X509 certificate.
    name string
    The name of the X509 Certificate Authority.
    certificate str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    fingerprint str
    The SHA-256 fingerprint of the X509 certificate.
    name str
    The name of the X509 Certificate Authority.
    certificate String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The PEM-encoded X509 certificate. This field is write-only and will not be returned by the API.
    fingerprint String
    The SHA-256 fingerprint of the X509 certificate.
    name String
    The name of the X509 Certificate Authority.

    Package Details

    Repository
    twingate Twingate/pulumi-twingate
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the twingate Terraform Provider.
    twingate logo
    Viewing docs for Twingate v4.1.0
    published on Monday, Apr 13, 2026 by Twingate
      Try Pulumi Cloud free. Your team will thank you.