UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

67 lines (66 loc) 2 kB
import * as pulumi from "@pulumi/pulumi"; /** * The RDP CA Pubkey is a public key used for setting up a trusted CA on Active Directiory Domain Controllers. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const rdpPubkeyQuery = sdm.getRdpCaPubkey({}); * export const rdpca = rdpPubkeyQuery.then(rdpPubkeyQuery => rdpPubkeyQuery.publicKey); * ``` */ export declare function getRdpCaPubkey(args?: GetRdpCaPubkeyArgs, opts?: pulumi.InvokeOptions): Promise<GetRdpCaPubkeyResult>; /** * A collection of arguments for invoking getRdpCaPubkey. */ export interface GetRdpCaPubkeyArgs { /** * a generated id representing this request. */ id?: string; /** * the RDP Certificate Authority public key. */ publicKey?: string; } /** * A collection of values returned by getRdpCaPubkey. */ export interface GetRdpCaPubkeyResult { /** * a generated id representing this request. */ readonly id?: string; /** * the RDP Certificate Authority public key. */ readonly publicKey?: string; } /** * The RDP CA Pubkey is a public key used for setting up a trusted CA on Active Directiory Domain Controllers. * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const rdpPubkeyQuery = sdm.getRdpCaPubkey({}); * export const rdpca = rdpPubkeyQuery.then(rdpPubkeyQuery => rdpPubkeyQuery.publicKey); * ``` */ export declare function getRdpCaPubkeyOutput(args?: GetRdpCaPubkeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRdpCaPubkeyResult>; /** * A collection of arguments for invoking getRdpCaPubkey. */ export interface GetRdpCaPubkeyOutputArgs { /** * a generated id representing this request. */ id?: pulumi.Input<string>; /** * the RDP Certificate Authority public key. */ publicKey?: pulumi.Input<string>; }