UNPKG

@pierskarsenbarg/sdm

Version:

A Pulumi package for creating and managing StrongDM cloud resources.

147 lines 4.7 kB
import * as pulumi from "@pulumi/pulumi"; /** * ManagedSecret contains details about managed secret * This resource can be imported using the import command. * * ## Import * * A ManagedSecret can be imported using the id, e.g., * * ```sh * $ pulumi import sdm:index/managedSecret:ManagedSecret example ms-12345678 * ``` */ export declare class ManagedSecret extends pulumi.CustomResource { /** * Get an existing ManagedSecret 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<pulumi.ID>, state?: ManagedSecretState, opts?: pulumi.CustomResourceOptions): ManagedSecret; /** * Returns true if the given object is an instance of ManagedSecret. 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 ManagedSecret; /** * public part of the secret value */ readonly config: pulumi.Output<string>; /** * Timestamp of when secret is going to be rotated */ readonly expiresAt: pulumi.Output<string>; /** * Timestamp of when secret was last rotated */ readonly lastRotatedAt: pulumi.Output<string>; /** * Whether the secret requires a lock to access */ readonly lockRequired: pulumi.Output<boolean | undefined>; /** * Unique human-readable name of the Managed Secret. */ readonly name: pulumi.Output<string>; /** * An ID of a Secret Engine linked with the Managed Secret. */ readonly secretEngineId: pulumi.Output<string>; /** * Path in a secret store. */ readonly secretStorePath: pulumi.Output<string>; /** * Tags is a map of key, value pairs. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Sensitive value of the secret. */ readonly value: pulumi.Output<string | undefined>; /** * Create a ManagedSecret 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: ManagedSecretArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedSecret resources. */ export interface ManagedSecretState { /** * public part of the secret value */ config?: pulumi.Input<string | undefined>; /** * Timestamp of when secret is going to be rotated */ expiresAt?: pulumi.Input<string | undefined>; /** * Timestamp of when secret was last rotated */ lastRotatedAt?: 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>; /** * Path in a secret store. */ secretStorePath?: 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>; } /** * The set of arguments for constructing a ManagedSecret resource. */ export interface ManagedSecretArgs { /** * 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>; /** * 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=managedSecret.d.ts.map