pulumi-infisical
Version:
A Pulumi provider for managing Infisical secrets management platform, dynamically bridged from the Terraform Infisical provider with support for projects, secrets, identity management, integrations, and access controls.
141 lines • 4.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class KmsKey extends pulumi.CustomResource {
/**
* Get an existing KmsKey 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<pulumi.ID>, state?: KmsKeyState, opts?: pulumi.CustomResourceOptions): KmsKey;
/**
* Returns true if the given object is an instance of KmsKey. 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 KmsKey;
/**
* The creation timestamp of the key.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The description of the KMS key. Maximum 500 characters.
*/
readonly description: pulumi.Output<string>;
/**
* The encryption algorithm for the key. Options: aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256. Defaults to 'aes-256-gcm'.
*/
readonly encryptionAlgorithm: pulumi.Output<string>;
/**
* Whether the key is disabled. Defaults to false.
*/
readonly isDisabled: pulumi.Output<boolean>;
/**
* The usage of the key. Options: encrypt-decrypt, sign-verify. Defaults to 'encrypt-decrypt'.
*/
readonly keyUsage: pulumi.Output<string>;
/**
* The name of the KMS key. Must be 1-32 characters.
*/
readonly name: pulumi.Output<string>;
/**
* The ID of the organization.
*/
readonly orgId: pulumi.Output<string>;
/**
* The ID of the project where the KMS key will be created.
*/
readonly projectId: pulumi.Output<string>;
/**
* The last update timestamp of the key.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* The version of the key.
*/
readonly version: pulumi.Output<number>;
/**
* Create a KmsKey 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: KmsKeyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering KmsKey resources.
*/
export interface KmsKeyState {
/**
* The creation timestamp of the key.
*/
createdAt?: pulumi.Input<string | undefined>;
/**
* The description of the KMS key. Maximum 500 characters.
*/
description?: pulumi.Input<string | undefined>;
/**
* The encryption algorithm for the key. Options: aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256. Defaults to 'aes-256-gcm'.
*/
encryptionAlgorithm?: pulumi.Input<string | undefined>;
/**
* Whether the key is disabled. Defaults to false.
*/
isDisabled?: pulumi.Input<boolean | undefined>;
/**
* The usage of the key. Options: encrypt-decrypt, sign-verify. Defaults to 'encrypt-decrypt'.
*/
keyUsage?: pulumi.Input<string | undefined>;
/**
* The name of the KMS key. Must be 1-32 characters.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the organization.
*/
orgId?: pulumi.Input<string | undefined>;
/**
* The ID of the project where the KMS key will be created.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* The last update timestamp of the key.
*/
updatedAt?: pulumi.Input<string | undefined>;
/**
* The version of the key.
*/
version?: pulumi.Input<number | undefined>;
}
/**
* The set of arguments for constructing a KmsKey resource.
*/
export interface KmsKeyArgs {
/**
* The description of the KMS key. Maximum 500 characters.
*/
description?: pulumi.Input<string | undefined>;
/**
* The encryption algorithm for the key. Options: aes-256-gcm, aes-128-gcm, RSA_4096, ECC_NIST_P256. Defaults to 'aes-256-gcm'.
*/
encryptionAlgorithm?: pulumi.Input<string | undefined>;
/**
* Whether the key is disabled. Defaults to false.
*/
isDisabled?: pulumi.Input<boolean | undefined>;
/**
* The usage of the key. Options: encrypt-decrypt, sign-verify. Defaults to 'encrypt-decrypt'.
*/
keyUsage?: pulumi.Input<string | undefined>;
/**
* The name of the KMS key. Must be 1-32 characters.
*/
name?: pulumi.Input<string | undefined>;
/**
* The ID of the project where the KMS key will be created.
*/
projectId: pulumi.Input<string>;
}
//# sourceMappingURL=kmsKey.d.ts.map