import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Resource to allow the rekeying of your tenant master key. */ export declare class EncryptionKeyManager extends pulumi.CustomResource { /** * Get an existing EncryptionKeyManager resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EncryptionKeyManagerState, opts?: pulumi.CustomResourceOptions): EncryptionKeyManager; /** * Returns true if the given object is an instance of EncryptionKeyManager. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EncryptionKeyManager; /** * This attribute is used for provisioning the customer provided root key. To initiate the provisioning process, create a new empty `customerProvidedRootKey` block. After applying this, the `publicWrappingKey` can be retreived from the resource, and the new root key should be generated by the customer and wrapped with the wrapping key, then base64-encoded and added as the `wrappedKey` attribute. */ readonly customerProvidedRootKey: pulumi.Output; /** * All encryption keys. */ readonly encryptionKeys: pulumi.Output; /** * If this value is changed, the encryption keys will be rotated. A UUID is recommended for the `keyRotationId`. */ readonly keyRotationId: pulumi.Output; /** * Create a EncryptionKeyManager resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: EncryptionKeyManagerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EncryptionKeyManager resources. */ export interface EncryptionKeyManagerState { /** * This attribute is used for provisioning the customer provided root key. To initiate the provisioning process, create a new empty `customerProvidedRootKey` block. After applying this, the `publicWrappingKey` can be retreived from the resource, and the new root key should be generated by the customer and wrapped with the wrapping key, then base64-encoded and added as the `wrappedKey` attribute. */ customerProvidedRootKey?: pulumi.Input; /** * All encryption keys. */ encryptionKeys?: pulumi.Input[]>; /** * If this value is changed, the encryption keys will be rotated. A UUID is recommended for the `keyRotationId`. */ keyRotationId?: pulumi.Input; } /** * The set of arguments for constructing a EncryptionKeyManager resource. */ export interface EncryptionKeyManagerArgs { /** * This attribute is used for provisioning the customer provided root key. To initiate the provisioning process, create a new empty `customerProvidedRootKey` block. After applying this, the `publicWrappingKey` can be retreived from the resource, and the new root key should be generated by the customer and wrapped with the wrapping key, then base64-encoded and added as the `wrappedKey` attribute. */ customerProvidedRootKey?: pulumi.Input; /** * If this value is changed, the encryption keys will be rotated. A UUID is recommended for the `keyRotationId`. */ keyRotationId?: pulumi.Input; }