@pierskarsenbarg/sdm
Version:
A Pulumi package for creating and managing StrongDM cloud resources.
82 lines (81 loc) • 2.54 kB
TypeScript
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
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdm from "@pierskarsenbarg/sdm";
*
* const proxyClusterKeyQuery = sdm.getProxyClusterKey({
* proxyClusterId: "n-233332245",
* });
* ```
*/
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
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as sdm from "@pierskarsenbarg/sdm";
*
* const proxyClusterKeyQuery = sdm.getProxyClusterKey({
* proxyClusterId: "n-233332245",
* });
* ```
*/
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>;
/**
* The ID of the proxy cluster which this key authenticates to.
*/
proxyClusterId?: pulumi.Input<string>;
}