@pulumi/harness
Version: 
A Pulumi package for creating and managing Harness resources.
115 lines (114 loc) • 2.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
 * Datasource for looking up secert file type secret.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as harness from "@pulumi/harness";
 *
 * const example = harness.platform.getSecretFile({
 *     identifier: "identifier",
 * });
 * ```
 */
export declare function getSecretFile(args: GetSecretFileArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretFileResult>;
/**
 * A collection of arguments for invoking getSecretFile.
 */
export interface GetSecretFileArgs {
    /**
     * Unique identifier of the resource.
     */
    identifier: string;
    /**
     * Name of the resource.
     */
    name?: string;
    /**
     * Unique identifier of the organization.
     */
    orgId?: string;
    /**
     * Unique identifier of the project.
     */
    projectId?: string;
}
/**
 * A collection of values returned by getSecretFile.
 */
export interface GetSecretFileResult {
    /**
     * Description of the resource.
     */
    readonly description: string;
    /**
     * Path of the file containing secret value
     */
    readonly filePath: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * Unique identifier of the resource.
     */
    readonly identifier: string;
    /**
     * Name of the resource.
     */
    readonly name?: string;
    /**
     * Unique identifier of the organization.
     */
    readonly orgId?: string;
    /**
     * Unique identifier of the project.
     */
    readonly projectId?: string;
    /**
     * Identifier of the Secret Manager used to manage the secret.
     */
    readonly secretManagerIdentifier: string;
    /**
     * Tags to associate with the resource.
     */
    readonly tags: string[];
}
/**
 * Datasource for looking up secert file type secret.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as harness from "@pulumi/harness";
 *
 * const example = harness.platform.getSecretFile({
 *     identifier: "identifier",
 * });
 * ```
 */
export declare function getSecretFileOutput(args: GetSecretFileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretFileResult>;
/**
 * A collection of arguments for invoking getSecretFile.
 */
export interface GetSecretFileOutputArgs {
    /**
     * Unique identifier of the resource.
     */
    identifier: pulumi.Input<string>;
    /**
     * Name of the resource.
     */
    name?: pulumi.Input<string>;
    /**
     * Unique identifier of the organization.
     */
    orgId?: pulumi.Input<string>;
    /**
     * Unique identifier of the project.
     */
    projectId?: pulumi.Input<string>;
}