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.
Create TwingateSSHCertificateAuthority Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TwingateSSHCertificateAuthority(name: string, args: TwingateSSHCertificateAuthorityArgs, opts?: CustomResourceOptions);@overload
def TwingateSSHCertificateAuthority(resource_name: str,
args: TwingateSSHCertificateAuthorityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TwingateSSHCertificateAuthority(resource_name: str,
opts: Optional[ResourceOptions] = None,
public_key: Optional[str] = None,
name: Optional[str] = None)func NewTwingateSSHCertificateAuthority(ctx *Context, name string, args TwingateSSHCertificateAuthorityArgs, opts ...ResourceOption) (*TwingateSSHCertificateAuthority, error)public TwingateSSHCertificateAuthority(string name, TwingateSSHCertificateAuthorityArgs args, CustomResourceOptions? opts = null)
public TwingateSSHCertificateAuthority(String name, TwingateSSHCertificateAuthorityArgs args)
public TwingateSSHCertificateAuthority(String name, TwingateSSHCertificateAuthorityArgs args, CustomResourceOptions options)
type: twingate:TwingateSSHCertificateAuthority
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 TwingateSSHCertificateAuthorityArgs
- 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 TwingateSSHCertificateAuthorityArgs
- 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 TwingateSSHCertificateAuthorityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TwingateSSHCertificateAuthorityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TwingateSSHCertificateAuthorityArgs
- 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 twingateSSHCertificateAuthorityResource = new Twingate.TwingateSSHCertificateAuthority("twingateSSHCertificateAuthorityResource", new()
{
PublicKey = "string",
Name = "string",
});
example, err := twingate.NewTwingateSSHCertificateAuthority(ctx, "twingateSSHCertificateAuthorityResource", &twingate.TwingateSSHCertificateAuthorityArgs{
PublicKey: pulumi.String("string"),
Name: pulumi.String("string"),
})
var twingateSSHCertificateAuthorityResource = new TwingateSSHCertificateAuthority("twingateSSHCertificateAuthorityResource", TwingateSSHCertificateAuthorityArgs.builder()
.publicKey("string")
.name("string")
.build());
twingate_ssh_certificate_authority_resource = twingate.TwingateSSHCertificateAuthority("twingateSSHCertificateAuthorityResource",
public_key="string",
name="string")
const twingateSSHCertificateAuthorityResource = new twingate.TwingateSSHCertificateAuthority("twingateSSHCertificateAuthorityResource", {
publicKey: "string",
name: "string",
});
type: twingate:TwingateSSHCertificateAuthority
properties:
name: string
publicKey: string
TwingateSSHCertificateAuthority 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 TwingateSSHCertificateAuthority resource accepts the following input properties:
- public_
key str - The SSH public key in OpenSSH authorizedKeys format.
- name str
- The name of the SSH Certificate Authority.
Outputs
All input properties are implicitly available as output properties. Additionally, the TwingateSSHCertificateAuthority resource produces the following output properties:
- Fingerprint string
- The fingerprint of the SSH public key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Fingerprint string
- The fingerprint of the SSH public key.
- Id string
- The provider-assigned unique ID for this managed resource.
- fingerprint String
- The fingerprint of the SSH public key.
- id String
- The provider-assigned unique ID for this managed resource.
- fingerprint string
- The fingerprint of the SSH public key.
- id string
- The provider-assigned unique ID for this managed resource.
- fingerprint str
- The fingerprint of the SSH public key.
- id str
- The provider-assigned unique ID for this managed resource.
- fingerprint String
- The fingerprint of the SSH public key.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TwingateSSHCertificateAuthority Resource
Get an existing TwingateSSHCertificateAuthority 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?: TwingateSSHCertificateAuthorityState, opts?: CustomResourceOptions): TwingateSSHCertificateAuthority@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
fingerprint: Optional[str] = None,
name: Optional[str] = None,
public_key: Optional[str] = None) -> TwingateSSHCertificateAuthorityfunc GetTwingateSSHCertificateAuthority(ctx *Context, name string, id IDInput, state *TwingateSSHCertificateAuthorityState, opts ...ResourceOption) (*TwingateSSHCertificateAuthority, error)public static TwingateSSHCertificateAuthority Get(string name, Input<string> id, TwingateSSHCertificateAuthorityState? state, CustomResourceOptions? opts = null)public static TwingateSSHCertificateAuthority get(String name, Output<String> id, TwingateSSHCertificateAuthorityState state, CustomResourceOptions options)resources: _: type: twingate:TwingateSSHCertificateAuthority 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.
- Fingerprint string
- The fingerprint of the SSH public key.
- Name string
- The name of the SSH Certificate Authority.
- Public
Key string - The SSH public key in OpenSSH authorizedKeys format.
- Fingerprint string
- The fingerprint of the SSH public key.
- Name string
- The name of the SSH Certificate Authority.
- Public
Key string - The SSH public key in OpenSSH authorizedKeys format.
- fingerprint String
- The fingerprint of the SSH public key.
- name String
- The name of the SSH Certificate Authority.
- public
Key String - The SSH public key in OpenSSH authorizedKeys format.
- fingerprint string
- The fingerprint of the SSH public key.
- name string
- The name of the SSH Certificate Authority.
- public
Key string - The SSH public key in OpenSSH authorizedKeys format.
- fingerprint str
- The fingerprint of the SSH public key.
- name str
- The name of the SSH Certificate Authority.
- public_
key str - The SSH public key in OpenSSH authorizedKeys format.
- fingerprint String
- The fingerprint of the SSH public key.
- name String
- The name of the SSH Certificate Authority.
- public
Key String - The SSH public key in OpenSSH authorizedKeys format.
Package Details
- Repository
- twingate Twingate/pulumi-twingate
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
twingateTerraform Provider.
published on Monday, Apr 13, 2026 by Twingate
