import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * Resource for creating an encrypted text secret
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as harness from "@lbrlabs/pulumi-harness";
 * import * as harness from "@pulumi/harness";
 *
 * const default = harness.getSecretManager({
 *     "default": true,
 * });
 * const example = new harness.EncryptedText("example", {
 *     value: "someval",
 *     secretManagerId: _default.then(_default => _default.id),
 *     usageScopes: [
 *         {
 *             environmentFilterType: "PRODUCTION_ENVIRONMENTS",
 *         },
 *         {
 *             environmentFilterType: "NON_PRODUCTION_ENVIRONMENTS",
 *         },
 *     ],
 * });
 * ```
 *
 * ## Import
 *
 * Import using the Harness encrypted text format. NOTEThe secret value cannot be decrypted and imported.
 *
 * ```sh
 *  $ pulumi import harness:index/encryptedText:EncryptedText example <secret_id>
 * ```
 */
export declare class EncryptedText extends pulumi.CustomResource {
    /**
     * Get an existing EncryptedText 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?: EncryptedTextState, opts?: pulumi.CustomResourceOptions): EncryptedText;
    /**
     * Returns true if the given object is an instance of EncryptedText.  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 EncryptedText;
    /**
     * Boolean that indicates whether or not to inherit the usage scopes from the secret manager
     */
    readonly inheritScopesFromSecretManager: pulumi.Output<boolean | undefined>;
    /**
     * Name of the encrypted text secret
     */
    readonly name: pulumi.Output<string>;
    /**
     * Boolean that indicates whether or not the secret is scoped to the account
     */
    readonly scopedToAccount: pulumi.Output<boolean | undefined>;
    /**
     * The id of the secret manager to associate the secret with. Once set, this field cannot be changed.
     */
    readonly secretManagerId: pulumi.Output<string>;
    /**
     * Name of the existing secret. If you already have secrets created in a secrets manager such as HashiCorp Vault or AWS Secrets Manager, you do not need to re-create the existing secrets in Harness.
     */
    readonly secretReference: pulumi.Output<string | undefined>;
    /**
     * This block is used for scoping the resource to a specific set of applications or environments.
     */
    readonly usageScopes: pulumi.Output<outputs.EncryptedTextUsageScope[] | undefined>;
    /**
     * The value of the secret.
     */
    readonly value: pulumi.Output<string | undefined>;
    /**
     * Create a EncryptedText 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: EncryptedTextArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering EncryptedText resources.
 */
export interface EncryptedTextState {
    /**
     * Boolean that indicates whether or not to inherit the usage scopes from the secret manager
     */
    inheritScopesFromSecretManager?: pulumi.Input<boolean>;
    /**
     * Name of the encrypted text secret
     */
    name?: pulumi.Input<string>;
    /**
     * Boolean that indicates whether or not the secret is scoped to the account
     */
    scopedToAccount?: pulumi.Input<boolean>;
    /**
     * The id of the secret manager to associate the secret with. Once set, this field cannot be changed.
     */
    secretManagerId?: pulumi.Input<string>;
    /**
     * Name of the existing secret. If you already have secrets created in a secrets manager such as HashiCorp Vault or AWS Secrets Manager, you do not need to re-create the existing secrets in Harness.
     */
    secretReference?: pulumi.Input<string>;
    /**
     * This block is used for scoping the resource to a specific set of applications or environments.
     */
    usageScopes?: pulumi.Input<pulumi.Input<inputs.EncryptedTextUsageScope>[]>;
    /**
     * The value of the secret.
     */
    value?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a EncryptedText resource.
 */
export interface EncryptedTextArgs {
    /**
     * Boolean that indicates whether or not to inherit the usage scopes from the secret manager
     */
    inheritScopesFromSecretManager?: pulumi.Input<boolean>;
    /**
     * Name of the encrypted text secret
     */
    name?: pulumi.Input<string>;
    /**
     * Boolean that indicates whether or not the secret is scoped to the account
     */
    scopedToAccount?: pulumi.Input<boolean>;
    /**
     * The id of the secret manager to associate the secret with. Once set, this field cannot be changed.
     */
    secretManagerId: pulumi.Input<string>;
    /**
     * Name of the existing secret. If you already have secrets created in a secrets manager such as HashiCorp Vault or AWS Secrets Manager, you do not need to re-create the existing secrets in Harness.
     */
    secretReference?: pulumi.Input<string>;
    /**
     * This block is used for scoping the resource to a specific set of applications or environments.
     */
    usageScopes?: pulumi.Input<pulumi.Input<inputs.EncryptedTextUsageScope>[]>;
    /**
     * The value of the secret.
     */
    value?: pulumi.Input<string>;
}
