UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

86 lines 2.75 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Proxy Cluster Keys are authentication keys for all proxies within a cluster. * The proxies within a cluster share the same key. One cluster can have * multiple keys in order to facilitate key rotation. * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const proxyClusterKeyQuery = sdm.getProxyClusterKey({ * proxyClusterId: "n-233332245", * }); * ``` * <!--End PulumiCodeChooser --> */ export declare function getProxyClusterKey(args?: GetProxyClusterKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetProxyClusterKeyResult>; /** * A collection of arguments for invoking getProxyClusterKey. */ export interface GetProxyClusterKeyArgs { /** * Unique identifier of the Relay. */ id?: string; /** * The ID of the proxy cluster which this key authenticates to. */ proxyClusterId?: string; } /** * A collection of values returned by getProxyClusterKey. */ export interface GetProxyClusterKeyResult { /** * Unique identifier of the Relay. */ readonly id?: string; /** * a list of strings of ids of data sources that match the given arguments. */ readonly ids: string[]; /** * The ID of the proxy cluster which this key authenticates to. */ readonly proxyClusterId?: string; /** * A list where each element has the following attributes: */ readonly proxyClusterKeys: outputs.GetProxyClusterKeyProxyClusterKey[]; } /** * Proxy Cluster Keys are authentication keys for all proxies within a cluster. * The proxies within a cluster share the same key. One cluster can have * multiple keys in order to facilitate key rotation. * ## Example Usage * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdm from "@pierskarsenbarg/sdm"; * * const proxyClusterKeyQuery = sdm.getProxyClusterKey({ * proxyClusterId: "n-233332245", * }); * ``` * <!--End PulumiCodeChooser --> */ export declare function getProxyClusterKeyOutput(args?: GetProxyClusterKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProxyClusterKeyResult>; /** * A collection of arguments for invoking getProxyClusterKey. */ export interface GetProxyClusterKeyOutputArgs { /** * Unique identifier of the Relay. */ id?: pulumi.Input<string | undefined>; /** * The ID of the proxy cluster which this key authenticates to. */ proxyClusterId?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getProxyClusterKey.d.ts.map