@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
67 lines (66 loc) • 2.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Data source for retrieving a Harness application
*/
export declare function getEncryptedText(args?: GetEncryptedTextArgs, opts?: pulumi.InvokeOptions): Promise<GetEncryptedTextResult>;
/**
* A collection of arguments for invoking getEncryptedText.
*/
export interface GetEncryptedTextArgs {
/**
* Unique identifier of the encrypted secret
*/
id?: string;
/**
* The name of the encrypted secret
*/
name?: string;
/**
* This block is used for scoping the resource to a specific set of applications or environments.
*/
usageScopes?: inputs.GetEncryptedTextUsageScope[];
}
/**
* A collection of values returned by getEncryptedText.
*/
export interface GetEncryptedTextResult {
/**
* Unique identifier of the encrypted secret
*/
readonly id?: string;
/**
* The name of the encrypted secret
*/
readonly name?: string;
/**
* The id of the associated secret manager
*/
readonly secretManagerId: string;
/**
* This block is used for scoping the resource to a specific set of applications or environments.
*/
readonly usageScopes?: outputs.GetEncryptedTextUsageScope[];
}
/**
* Data source for retrieving a Harness application
*/
export declare function getEncryptedTextOutput(args?: GetEncryptedTextOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEncryptedTextResult>;
/**
* A collection of arguments for invoking getEncryptedText.
*/
export interface GetEncryptedTextOutputArgs {
/**
* Unique identifier of the encrypted secret
*/
id?: pulumi.Input<string>;
/**
* The name of the encrypted secret
*/
name?: 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.GetEncryptedTextUsageScopeArgs>[]>;
}