UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

128 lines 3.43 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ManagedSecret contains details about managed secret */ export declare function getManagedSecret(args?: GetManagedSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedSecretResult>; /** * A collection of arguments for invoking getManagedSecret. */ export interface GetManagedSecretArgs { /** * Unique identifier of the Managed Secret. */ id?: string; /** * Whether the secret requires a lock to access */ lockRequired?: boolean; /** * Unique human-readable name of the Managed Secret. */ name?: string; /** * An ID of a Secret Engine linked with the Managed Secret. */ secretEngineId?: string; /** * Tags is a map of key, value pairs. */ tags?: { [key: string]: string; }; /** * Sensitive value of the secret. */ value?: string; } /** * A collection of values returned by getManagedSecret. */ export interface GetManagedSecretResult { /** * public part of the secret value */ readonly config: string; /** * Timestamp of when secret is going to be rotated */ readonly expiresAt: string; /** * Unique identifier of the Managed Secret. */ readonly id?: string; /** * a list of strings of ids of data sources that match the given arguments. */ readonly ids: string[]; /** * Timestamp of when secret was last rotated */ readonly lastRotatedAt: string; /** * Whether the secret requires a lock to access */ readonly lockRequired?: boolean; /** * A list where each element has the following attributes: */ readonly managedSecrets: outputs.GetManagedSecretManagedSecret[]; /** * Unique human-readable name of the Managed Secret. */ readonly name?: string; /** * An ID of a Secret Engine linked with the Managed Secret. */ readonly secretEngineId?: string; /** * Path in a secret store. */ readonly secretStorePath: string; /** * Tags is a map of key, value pairs. */ readonly tags?: { [key: string]: string; }; /** * Sensitive value of the secret. */ readonly value?: string; } /** * ManagedSecret contains details about managed secret */ export declare function getManagedSecretOutput(args?: GetManagedSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedSecretResult>; /** * A collection of arguments for invoking getManagedSecret. */ export interface GetManagedSecretOutputArgs { /** * Unique identifier of the Managed Secret. */ id?: pulumi.Input<string | undefined>; /** * Whether the secret requires a lock to access */ lockRequired?: pulumi.Input<boolean | undefined>; /** * Unique human-readable name of the Managed Secret. */ name?: pulumi.Input<string | undefined>; /** * An ID of a Secret Engine linked with the Managed Secret. */ secretEngineId?: pulumi.Input<string | undefined>; /** * Tags is a map of key, value pairs. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; } | undefined>; /** * Sensitive value of the secret. */ value?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getManagedSecret.d.ts.map