import * as pulumi from "@pulumi/pulumi"; 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; /** * Comment on an object in the database. */ readonly comment: pulumi.Output; /** * The identifier for the secret database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ readonly databaseName: pulumi.Output; /** * The identifier for the secret. */ readonly name: pulumi.Output; /** * The owernship role of the object. */ readonly ownershipRole: pulumi.Output; /** * The fully qualified name of the secret. */ readonly qualifiedSqlName: pulumi.Output; /** * The region to use for the resource connection. If not set, the default region is used. */ readonly region: pulumi.Output; /** * The identifier for the secret schema in Materialize. Defaults to `public`. */ readonly schemaName: pulumi.Output; readonly secretId: pulumi.Output; /** * The value for the secret. The value expression may not reference any relations, and must be a bytea string literal. Use value_wo for write-only ephemeral values that won't be stored in state. */ readonly value: pulumi.Output; readonly valueWo: pulumi.Output; /** * Version number for the write-only value. Increment this to trigger an update of the secret value when using value_wo. Must be used with value_wo. */ readonly valueWoVersion: 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 { /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the secret database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; /** * The identifier for the secret. */ name?: pulumi.Input; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The fully qualified name of the secret. */ qualifiedSqlName?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the secret schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; secretId?: pulumi.Input; /** * The value for the secret. The value expression may not reference any relations, and must be a bytea string literal. Use value_wo for write-only ephemeral values that won't be stored in state. */ value?: pulumi.Input; valueWo?: pulumi.Input; /** * Version number for the write-only value. Increment this to trigger an update of the secret value when using value_wo. Must be used with value_wo. */ valueWoVersion?: pulumi.Input; } /** * The set of arguments for constructing a Secret resource. */ export interface SecretArgs { /** * Comment on an object in the database. */ comment?: pulumi.Input; /** * The identifier for the secret database in Materialize. Defaults to `MZ_DATABASE` environment variable if set or `materialize` if environment variable is not set. */ databaseName?: pulumi.Input; /** * The identifier for the secret. */ name?: pulumi.Input; /** * The owernship role of the object. */ ownershipRole?: pulumi.Input; /** * The region to use for the resource connection. If not set, the default region is used. */ region?: pulumi.Input; /** * The identifier for the secret schema in Materialize. Defaults to `public`. */ schemaName?: pulumi.Input; secretId?: pulumi.Input; /** * The value for the secret. The value expression may not reference any relations, and must be a bytea string literal. Use value_wo for write-only ephemeral values that won't be stored in state. */ value?: pulumi.Input; valueWo?: pulumi.Input; /** * Version number for the write-only value. Increment this to trigger an update of the secret value when using value_wo. Must be used with value_wo. */ valueWoVersion?: pulumi.Input; }