Viewing docs for Twingate v4.1.0
published on Monday, Apr 13, 2026 by Twingate
published on Monday, Apr 13, 2026 by Twingate
Viewing docs for Twingate v4.1.0
published on Monday, Apr 13, 2026 by Twingate
published on Monday, Apr 13, 2026 by Twingate
X509 Certificate Authorities allow Twingate to verify certificates presented by resources during TLS connections.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as twingate from "@twingate/pulumi-twingate";
const example = twingate.getTwingateX509CertificateAuthority({
id: "<your x509 certificate authority's id>",
});
import pulumi
import pulumi_twingate as twingate
example = twingate.get_twingate_x509_certificate_authority(id="<your x509 certificate authority's id>")
package main
import (
"github.com/Twingate/pulumi-twingate/sdk/v4/go/twingate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := twingate.LookupTwingateX509CertificateAuthority(ctx, &twingate.LookupTwingateX509CertificateAuthorityArgs{
Id: "<your x509 certificate authority's id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Twingate = Twingate.Twingate;
return await Deployment.RunAsync(() =>
{
var example = Twingate.GetTwingateX509CertificateAuthority.Invoke(new()
{
Id = "<your x509 certificate authority's id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.twingate.TwingateFunctions;
import com.pulumi.twingate.inputs.GetTwingateX509CertificateAuthorityArgs;
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) {
final var example = TwingateFunctions.getTwingateX509CertificateAuthority(GetTwingateX509CertificateAuthorityArgs.builder()
.id("<your x509 certificate authority's id>")
.build());
}
}
variables:
example:
fn::invoke:
function: twingate:getTwingateX509CertificateAuthority
arguments:
id: <your x509 certificate authority's id>
Using getTwingateX509CertificateAuthority
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTwingateX509CertificateAuthority(args: GetTwingateX509CertificateAuthorityArgs, opts?: InvokeOptions): Promise<GetTwingateX509CertificateAuthorityResult>
function getTwingateX509CertificateAuthorityOutput(args: GetTwingateX509CertificateAuthorityOutputArgs, opts?: InvokeOptions): Output<GetTwingateX509CertificateAuthorityResult>def get_twingate_x509_certificate_authority(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTwingateX509CertificateAuthorityResult
def get_twingate_x509_certificate_authority_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTwingateX509CertificateAuthorityResult]func LookupTwingateX509CertificateAuthority(ctx *Context, args *LookupTwingateX509CertificateAuthorityArgs, opts ...InvokeOption) (*LookupTwingateX509CertificateAuthorityResult, error)
func LookupTwingateX509CertificateAuthorityOutput(ctx *Context, args *LookupTwingateX509CertificateAuthorityOutputArgs, opts ...InvokeOption) LookupTwingateX509CertificateAuthorityResultOutput> Note: This function is named LookupTwingateX509CertificateAuthority in the Go SDK.
public static class GetTwingateX509CertificateAuthority
{
public static Task<GetTwingateX509CertificateAuthorityResult> InvokeAsync(GetTwingateX509CertificateAuthorityArgs args, InvokeOptions? opts = null)
public static Output<GetTwingateX509CertificateAuthorityResult> Invoke(GetTwingateX509CertificateAuthorityInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTwingateX509CertificateAuthorityResult> getTwingateX509CertificateAuthority(GetTwingateX509CertificateAuthorityArgs args, InvokeOptions options)
public static Output<GetTwingateX509CertificateAuthorityResult> getTwingateX509CertificateAuthority(GetTwingateX509CertificateAuthorityArgs args, InvokeOptions options)
fn::invoke:
function: twingate:index/getTwingateX509CertificateAuthority:getTwingateX509CertificateAuthority
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID of the X509 Certificate Authority.
- Id string
- The ID of the X509 Certificate Authority.
- id String
- The ID of the X509 Certificate Authority.
- id string
- The ID of the X509 Certificate Authority.
- id str
- The ID of the X509 Certificate Authority.
- id String
- The ID of the X509 Certificate Authority.
getTwingateX509CertificateAuthority Result
The following output properties are available:
- Fingerprint string
- The SHA-256 fingerprint of the X509 certificate.
- Id string
- The ID of the X509 Certificate Authority.
- Name string
- The name of the X509 Certificate Authority.
- Fingerprint string
- The SHA-256 fingerprint of the X509 certificate.
- Id string
- The ID of the X509 Certificate Authority.
- Name string
- The name of the X509 Certificate Authority.
- fingerprint String
- The SHA-256 fingerprint of the X509 certificate.
- id String
- The ID of the X509 Certificate Authority.
- name String
- The name of the X509 Certificate Authority.
- fingerprint string
- The SHA-256 fingerprint of the X509 certificate.
- id string
- The ID of the X509 Certificate Authority.
- name string
- The name of the X509 Certificate Authority.
- fingerprint str
- The SHA-256 fingerprint of the X509 certificate.
- id str
- The ID of the X509 Certificate Authority.
- name str
- The name of the X509 Certificate Authority.
- fingerprint String
- The SHA-256 fingerprint of the X509 certificate.
- id String
- The ID of the X509 Certificate Authority.
- 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
twingateTerraform Provider.
Viewing docs for Twingate v4.1.0
published on Monday, Apr 13, 2026 by Twingate
published on Monday, Apr 13, 2026 by Twingate
