@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
79 lines • 2.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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",
* });
* ```
*/
export declare function getAutokeyConfig(args: GetAutokeyConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetAutokeyConfigResult>;
/**
* A collection of arguments for invoking getAutokeyConfig.
*/
export interface GetAutokeyConfigArgs {
/**
* The folder in which the AutokeyConfig is configured. If it
* is not provided, the provider folder is used.
*/
folder: string;
}
/**
* A collection of values returned by getAutokeyConfig.
*/
export interface GetAutokeyConfigResult {
readonly deletionPolicy: string;
readonly etag: string;
readonly folder: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The identifier of the project hosting KMS KeyRings and Keys generated by Autokey. Its format is `projects/{projectId}`.
*/
readonly keyProject: string;
readonly keyProjectResolutionMode: string;
}
/**
* 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",
* });
* ```
*/
export declare function getAutokeyConfigOutput(args: GetAutokeyConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAutokeyConfigResult>;
/**
* A collection of arguments for invoking getAutokeyConfig.
*/
export interface GetAutokeyConfigOutputArgs {
/**
* The folder in which the AutokeyConfig is configured. If it
* is not provided, the provider folder is used.
*/
folder: pulumi.Input<string>;
}
//# sourceMappingURL=getAutokeyConfig.d.ts.map