@twingate/pulumi-twingate
Version:
A Pulumi package for creating and managing Twingate cloud resources.
72 lines (71 loc) • 2.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* SSH Certificate Authorities allow Twingate to sign SSH certificates for authenticating users to resources.
*/
export declare class TwingateSSHCertificateAuthority extends pulumi.CustomResource {
/**
* Get an existing TwingateSSHCertificateAuthority resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TwingateSSHCertificateAuthorityState, opts?: pulumi.CustomResourceOptions): TwingateSSHCertificateAuthority;
/**
* Returns true if the given object is an instance of TwingateSSHCertificateAuthority. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is TwingateSSHCertificateAuthority;
/**
* The fingerprint of the SSH public key.
*/
readonly fingerprint: pulumi.Output<string>;
/**
* The name of the SSH Certificate Authority.
*/
readonly name: pulumi.Output<string>;
/**
* The SSH public key in OpenSSH authorizedKeys format.
*/
readonly publicKey: pulumi.Output<string>;
/**
* Create a TwingateSSHCertificateAuthority resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: TwingateSSHCertificateAuthorityArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering TwingateSSHCertificateAuthority resources.
*/
export interface TwingateSSHCertificateAuthorityState {
/**
* The fingerprint of the SSH public key.
*/
fingerprint?: pulumi.Input<string>;
/**
* The name of the SSH Certificate Authority.
*/
name?: pulumi.Input<string>;
/**
* The SSH public key in OpenSSH authorizedKeys format.
*/
publicKey?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a TwingateSSHCertificateAuthority resource.
*/
export interface TwingateSSHCertificateAuthorityArgs {
/**
* The name of the SSH Certificate Authority.
*/
name?: pulumi.Input<string>;
/**
* The SSH public key in OpenSSH authorizedKeys format.
*/
publicKey: pulumi.Input<string>;
}