import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a secret stored in OVHcloud KMS. * * > WARNING: `version.data` is marked **Sensitive** but still ends up in the state file. To mitigate that, it is recommended to protect your state with encryption and access controls. Avoid committing it to source control. */ export declare class Secret extends pulumi.CustomResource { /** * Get an existing Secret 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, state?: SecretState, opts?: pulumi.CustomResourceOptions): Secret; /** * Returns true if the given object is an instance of Secret. 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 Secret; /** * Check-and-set guard. Only used on update operations: must equal the current secret version for the update to succeed. * Ignored on create. */ readonly cas: pulumi.Output; /** * IAM resource metadata embedded in services models */ readonly iam: pulumi.Output; /** * @deprecated No effect; will be removed in a future version. */ readonly includeData: pulumi.Output; /** * Create a secret metadata */ readonly metadata: pulumi.Output; /** * Okms ID */ readonly okmsId: pulumi.Output; /** * Secret path */ readonly path: pulumi.Output; /** * Create an OKMS secret version */ readonly version: pulumi.Output; /** * Create a Secret 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: SecretArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Secret resources. */ export interface SecretState { /** * Check-and-set guard. Only used on update operations: must equal the current secret version for the update to succeed. * Ignored on create. */ cas?: pulumi.Input; /** * IAM resource metadata embedded in services models */ iam?: pulumi.Input; /** * @deprecated No effect; will be removed in a future version. */ includeData?: pulumi.Input; /** * Create a secret metadata */ metadata?: pulumi.Input; /** * Okms ID */ okmsId?: pulumi.Input; /** * Secret path */ path?: pulumi.Input; /** * Create an OKMS secret version */ version?: pulumi.Input; } /** * The set of arguments for constructing a Secret resource. */ export interface SecretArgs { /** * Check-and-set guard. Only used on update operations: must equal the current secret version for the update to succeed. * Ignored on create. */ cas?: pulumi.Input; /** * @deprecated No effect; will be removed in a future version. */ includeData?: pulumi.Input; /** * Create a secret metadata */ metadata?: pulumi.Input; /** * Okms ID */ okmsId: pulumi.Input; /** * Secret path */ path: pulumi.Input; /** * Create an OKMS secret version */ version: pulumi.Input; }