import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class Secret extends pulumi.CustomResource { /** * Get an existing Secret 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?: SecretState, opts?: pulumi.CustomResourceOptions): Secret; /** * Returns true if the given object is an instance of Secret. 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 Secret; /** * The environment slug of the secret to modify/create */ readonly envSlug: pulumi.Output; /** * The path to the folder where the given secret resides */ readonly folderPath: pulumi.Output; /** * The last time the secret was updated. */ readonly lastUpdated: pulumi.Output; /** * Metadata associated with the secret as key-value pairs. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The name of the secret */ readonly name: pulumi.Output; readonly secretReminder: pulumi.Output; /** * Tag ids to be attached for the secrets. */ readonly tagIds: pulumi.Output; /** * The value of the secret in plain text. This is required if `valueWo` is not set. */ readonly value: pulumi.Output; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The value of the secret in plain text as a write-only secret. If set, the secret value will not be stored in state. This is required if `value` is not set. Requires Terraform version 1.11.0 or higher. */ readonly valueWo: pulumi.Output; /** * Used together with valueWo to trigger an update. Increment this value when an update to the valueWo is required. */ readonly valueWoVersion: pulumi.Output; /** * The Infisical project ID (Required for Machine Identity auth, and service tokens with multiple scopes) */ readonly workspaceId: pulumi.Output; /** * Create a Secret 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: SecretArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Secret resources. */ export interface SecretState { /** * The environment slug of the secret to modify/create */ envSlug?: pulumi.Input; /** * The path to the folder where the given secret resides */ folderPath?: pulumi.Input; /** * The last time the secret was updated. */ lastUpdated?: pulumi.Input; /** * Metadata associated with the secret as key-value pairs. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The name of the secret */ name?: pulumi.Input; secretReminder?: pulumi.Input; /** * Tag ids to be attached for the secrets. */ tagIds?: pulumi.Input[] | undefined>; /** * The value of the secret in plain text. This is required if `valueWo` is not set. */ value?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The value of the secret in plain text as a write-only secret. If set, the secret value will not be stored in state. This is required if `value` is not set. Requires Terraform version 1.11.0 or higher. */ valueWo?: pulumi.Input; /** * Used together with valueWo to trigger an update. Increment this value when an update to the valueWo is required. */ valueWoVersion?: pulumi.Input; /** * The Infisical project ID (Required for Machine Identity auth, and service tokens with multiple scopes) */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a Secret resource. */ export interface SecretArgs { /** * The environment slug of the secret to modify/create */ envSlug: pulumi.Input; /** * The path to the folder where the given secret resides */ folderPath: pulumi.Input; /** * Metadata associated with the secret as key-value pairs. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The name of the secret */ name?: pulumi.Input; secretReminder?: pulumi.Input; /** * Tag ids to be attached for the secrets. */ tagIds?: pulumi.Input[] | undefined>; /** * The value of the secret in plain text. This is required if `valueWo` is not set. */ value?: pulumi.Input; /** * **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. * The value of the secret in plain text as a write-only secret. If set, the secret value will not be stored in state. This is required if `value` is not set. Requires Terraform version 1.11.0 or higher. */ valueWo?: pulumi.Input; /** * Used together with valueWo to trigger an update. Increment this value when an update to the valueWo is required. */ valueWoVersion?: pulumi.Input; /** * The Infisical project ID (Required for Machine Identity auth, and service tokens with multiple scopes) */ workspaceId?: pulumi.Input; } //# sourceMappingURL=secret.d.ts.map