UNPKG

@pulumi/gcp

Version:

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

42 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.getKeyRingsOutput = exports.getKeyRings = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides access to all Google Cloud Platform KMS CryptoKeyRings in a set location. For more information see * [the official documentation](https://cloud.google.com/kms/docs/resource-hierarchy#key_rings) * and * [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings). * * A key ring organizes keys in a specific Google Cloud location and lets you manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location. After creation, a key ring cannot be deleted. Key rings don't incur any costs. */ function getKeyRings(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:kms/getKeyRings:getKeyRings", { "filter": args.filter, "location": args.location, "project": args.project, }, opts); } exports.getKeyRings = getKeyRings; /** * Provides access to all Google Cloud Platform KMS CryptoKeyRings in a set location. For more information see * [the official documentation](https://cloud.google.com/kms/docs/resource-hierarchy#key_rings) * and * [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings). * * A key ring organizes keys in a specific Google Cloud location and lets you manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location. After creation, a key ring cannot be deleted. Key rings don't incur any costs. */ function getKeyRingsOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:kms/getKeyRings:getKeyRings", { "filter": args.filter, "location": args.location, "project": args.project, }, opts); } exports.getKeyRingsOutput = getKeyRingsOutput; //# sourceMappingURL=getKeyRings.js.map