UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

60 lines 2.37 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.getAutokeyConfigOutput = exports.getAutokeyConfig = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides access to Google Cloud Platform KMS AutokeyConfig. A AutokeyConfig is a Cloud KMS resource that helps you safely span the separation of duties to create new Cloud KMS keys for CMEK using Autokey. * * For more information see * [the official documentation](https://cloud.google.com/kms/docs/reference/rest/v1/folders) * and * [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyHandles). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myAutokeyConfig = gcp.kms.getAutokeyConfig({ * folder: "folders/123", * }); * ``` */ function getAutokeyConfig(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:kms/getAutokeyConfig:getAutokeyConfig", { "folder": args.folder, }, opts); } exports.getAutokeyConfig = getAutokeyConfig; /** * Provides access to Google Cloud Platform KMS AutokeyConfig. A AutokeyConfig is a Cloud KMS resource that helps you safely span the separation of duties to create new Cloud KMS keys for CMEK using Autokey. * * For more information see * [the official documentation](https://cloud.google.com/kms/docs/reference/rest/v1/folders) * and * [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyHandles). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myAutokeyConfig = gcp.kms.getAutokeyConfig({ * folder: "folders/123", * }); * ``` */ function getAutokeyConfigOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:kms/getAutokeyConfig:getAutokeyConfig", { "folder": args.folder, }, opts); } exports.getAutokeyConfigOutput = getAutokeyConfigOutput; //# sourceMappingURL=getAutokeyConfig.js.map