UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

67 lines (66 loc) 1.93 kB
import * as pulumi from "@pulumi/pulumi"; /** * The SSH CA Pubkey is a public key used for setting up SSH resources. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const sshPubkeyQuery = sdm.getSshCaPubkey({}); * export const sshca = sshPubkeyQuery.then(sshPubkeyQuery => sshPubkeyQuery.publicKey); * ``` */ export declare function getSshCaPubkey(args?: GetSshCaPubkeyArgs, opts?: pulumi.InvokeOptions): Promise<GetSshCaPubkeyResult>; /** * A collection of arguments for invoking getSshCaPubkey. */ export interface GetSshCaPubkeyArgs { /** * a generated id representing this request. */ id?: string; /** * the SSH Certificate Authority public key. */ publicKey?: string; } /** * A collection of values returned by getSshCaPubkey. */ export interface GetSshCaPubkeyResult { /** * a generated id representing this request. */ readonly id?: string; /** * the SSH Certificate Authority public key. */ readonly publicKey?: string; } /** * The SSH CA Pubkey is a public key used for setting up SSH resources. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const sshPubkeyQuery = sdm.getSshCaPubkey({}); * export const sshca = sshPubkeyQuery.then(sshPubkeyQuery => sshPubkeyQuery.publicKey); * ``` */ export declare function getSshCaPubkeyOutput(args?: GetSshCaPubkeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSshCaPubkeyResult>; /** * A collection of arguments for invoking getSshCaPubkey. */ export interface GetSshCaPubkeyOutputArgs { /** * a generated id representing this request. */ id?: pulumi.Input<string>; /** * the SSH Certificate Authority public key. */ publicKey?: pulumi.Input<string>; }