UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

56 lines 2.11 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getProxyClusterKeyOutput = exports.getProxyClusterKey = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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", * }); * ``` */ function getProxyClusterKey(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sdm:index/getProxyClusterKey:getProxyClusterKey", { "id": args.id, "proxyClusterId": args.proxyClusterId, }, opts); } exports.getProxyClusterKey = getProxyClusterKey; /** * 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", * }); * ``` */ function getProxyClusterKeyOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sdm:index/getProxyClusterKey:getProxyClusterKey", { "id": args.id, "proxyClusterId": args.proxyClusterId, }, opts); } exports.getProxyClusterKeyOutput = getProxyClusterKeyOutput; //# sourceMappingURL=getProxyClusterKey.js.map