import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for a Google Cloud KMS crypto key. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const foo = gcp.kms.getCryptoKeyIamPolicy({ * cryptoKeyId: cryptoKey.id, * }); * ``` */ export declare function getCryptoKeyIamPolicy(args: GetCryptoKeyIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCryptoKeyIamPolicy. */ export interface GetCryptoKeyIamPolicyArgs { /** * The crypto key ID, in the form */ cryptoKeyId: string; } /** * A collection of values returned by getCryptoKeyIamPolicy. */ export interface GetCryptoKeyIamPolicyResult { readonly cryptoKeyId: string; /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Computed) The policy data */ readonly policyData: string; } /** * Retrieves the current IAM policy data for a Google Cloud KMS crypto key. * * ## example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const foo = gcp.kms.getCryptoKeyIamPolicy({ * cryptoKeyId: cryptoKey.id, * }); * ``` */ export declare function getCryptoKeyIamPolicyOutput(args: GetCryptoKeyIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCryptoKeyIamPolicy. */ export interface GetCryptoKeyIamPolicyOutputArgs { /** * The crypto key ID, in the form */ cryptoKeyId: pulumi.Input; }