UNPKG

@elcodev/pulumi-pass

Version:

A Pulumi package for creating and managing pass/gopass secrets.

78 lines (77 loc) 2.48 kB
import * as pulumi from "@pulumi/pulumi"; export declare class PassPassword extends pulumi.CustomResource { /** * Get an existing PassPassword 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. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PassPasswordState, opts?: pulumi.CustomResourceOptions): PassPassword; /** * Returns true if the given object is an instance of PassPassword. 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 PassPassword; /** * additional secret data. */ readonly data: pulumi.Output<{ [key: string]: any; } | undefined>; /** * secret password. */ readonly password: pulumi.Output<string>; /** * Full path where the pass data will be written. */ readonly path: pulumi.Output<string>; /** * Create a PassPassword 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: PassPasswordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PassPassword resources. */ export interface PassPasswordState { /** * additional secret data. */ readonly data?: pulumi.Input<{ [key: string]: any; }>; /** * secret password. */ readonly password?: pulumi.Input<string>; /** * Full path where the pass data will be written. */ readonly path?: pulumi.Input<string>; } /** * The set of arguments for constructing a PassPassword resource. */ export interface PassPasswordArgs { /** * additional secret data. */ readonly data?: pulumi.Input<{ [key: string]: any; }>; /** * secret password. */ readonly password: pulumi.Input<string>; /** * Full path where the pass data will be written. */ readonly path: pulumi.Input<string>; }