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
SSH Certificate Authorities allow Twingate to sign SSH certificates for authenticating users to resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as twingate from "@twingate/pulumi-twingate";
const example = twingate.getTwingateSSHCertificateAuthority({
id: "<your ssh certificate authority's id>",
});
import pulumi
import pulumi_twingate as twingate
example = twingate.get_twingate_ssh_certificate_authority(id="<your ssh 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.LookupTwingateSSHCertificateAuthority(ctx, &twingate.LookupTwingateSSHCertificateAuthorityArgs{
Id: "<your ssh 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.GetTwingateSSHCertificateAuthority.Invoke(new()
{
Id = "<your ssh 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.GetTwingateSSHCertificateAuthorityArgs;
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.getTwingateSSHCertificateAuthority(GetTwingateSSHCertificateAuthorityArgs.builder()
.id("<your ssh certificate authority's id>")
.build());
}
}
variables:
example:
fn::invoke:
function: twingate:getTwingateSSHCertificateAuthority
arguments:
id: <your ssh certificate authority's id>
Using getTwingateSSHCertificateAuthority
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 getTwingateSSHCertificateAuthority(args: GetTwingateSSHCertificateAuthorityArgs, opts?: InvokeOptions): Promise<GetTwingateSSHCertificateAuthorityResult>
function getTwingateSSHCertificateAuthorityOutput(args: GetTwingateSSHCertificateAuthorityOutputArgs, opts?: InvokeOptions): Output<GetTwingateSSHCertificateAuthorityResult>def get_twingate_ssh_certificate_authority(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTwingateSSHCertificateAuthorityResult
def get_twingate_ssh_certificate_authority_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTwingateSSHCertificateAuthorityResult]func LookupTwingateSSHCertificateAuthority(ctx *Context, args *LookupTwingateSSHCertificateAuthorityArgs, opts ...InvokeOption) (*LookupTwingateSSHCertificateAuthorityResult, error)
func LookupTwingateSSHCertificateAuthorityOutput(ctx *Context, args *LookupTwingateSSHCertificateAuthorityOutputArgs, opts ...InvokeOption) LookupTwingateSSHCertificateAuthorityResultOutput> Note: This function is named LookupTwingateSSHCertificateAuthority in the Go SDK.
public static class GetTwingateSSHCertificateAuthority
{
public static Task<GetTwingateSSHCertificateAuthorityResult> InvokeAsync(GetTwingateSSHCertificateAuthorityArgs args, InvokeOptions? opts = null)
public static Output<GetTwingateSSHCertificateAuthorityResult> Invoke(GetTwingateSSHCertificateAuthorityInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTwingateSSHCertificateAuthorityResult> getTwingateSSHCertificateAuthority(GetTwingateSSHCertificateAuthorityArgs args, InvokeOptions options)
public static Output<GetTwingateSSHCertificateAuthorityResult> getTwingateSSHCertificateAuthority(GetTwingateSSHCertificateAuthorityArgs args, InvokeOptions options)
fn::invoke:
function: twingate:index/getTwingateSSHCertificateAuthority:getTwingateSSHCertificateAuthority
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID of the SSH Certificate Authority.
- Id string
- The ID of the SSH Certificate Authority.
- id String
- The ID of the SSH Certificate Authority.
- id string
- The ID of the SSH Certificate Authority.
- id str
- The ID of the SSH Certificate Authority.
- id String
- The ID of the SSH Certificate Authority.
getTwingateSSHCertificateAuthority Result
The following output properties are available:
- Fingerprint string
- The fingerprint of the SSH public key.
- Id string
- The ID of the SSH Certificate Authority.
- Name string
- The name of the SSH Certificate Authority.
- Fingerprint string
- The fingerprint of the SSH public key.
- Id string
- The ID of the SSH Certificate Authority.
- Name string
- The name of the SSH Certificate Authority.
- fingerprint String
- The fingerprint of the SSH public key.
- id String
- The ID of the SSH Certificate Authority.
- name String
- The name of the SSH Certificate Authority.
- fingerprint string
- The fingerprint of the SSH public key.
- id string
- The ID of the SSH Certificate Authority.
- name string
- The name of the SSH Certificate Authority.
- fingerprint str
- The fingerprint of the SSH public key.
- id str
- The ID of the SSH Certificate Authority.
- name str
- The name of the SSH Certificate Authority.
- fingerprint String
- The fingerprint of the SSH public key.
- id String
- The ID of the SSH Certificate Authority.
- name String
- The name of the SSH 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
