import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; 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; /** * [Reference Page](https://docs.controlplane.com/reference/secret#aws). */ readonly aws: pulumi.Output; /** * [Reference Page](https://docs.controlplane.com/reference/secret#azure-connector). */ readonly azureConnector: pulumi.Output; /** * JSON string containing the Docker secret. [Reference Page](https://docs.controlplane.com/reference/secret#azure). */ readonly azureSdk: pulumi.Output; /** * The ID, in GUID format, of the secret. */ readonly cplnId: pulumi.Output; /** * Description of the secret. */ readonly description: pulumi.Output; /** * List of unique key-value pairs. [Reference Page](https://docs.controlplane.com/reference/secret#dictionary). */ readonly dictionary: pulumi.Output<{ [key: string]: string; } | undefined>; /** * If a dictionary secret is defined, this output will be a key-value map in the following format: `key = cpln://secret/SECRET_NAME.key`. */ readonly dictionaryAsEnvs: pulumi.Output<{ [key: string]: string; }>; /** * JSON string containing the Docker secret. [Reference Page](https://docs.controlplane.com/reference/secret#docker). */ readonly docker: pulumi.Output; readonly ecr: pulumi.Output; /** * JSON string containing the GCP secret. [Reference Page](https://docs.controlplane.com/reference/secret#gcp) */ readonly gcp: pulumi.Output; /** * [Reference Page](https://docs.controlplane.com/reference/secret#keypair). */ readonly keypair: pulumi.Output; /** * Name of the secret. */ readonly name: pulumi.Output; /** * [Reference Page](https://docs.controlplane.com/reference/secret#nats-account). */ readonly natsAccount: pulumi.Output; /** * [Reference Page](https://docs.controlplane.com/reference/secret#opaque). */ readonly opaque: pulumi.Output; /** * Output used when linking a secret to an environment variable or volume. */ readonly secretLink: pulumi.Output; /** * Full link to this resource. Can be referenced by other resources. */ readonly selfLink: pulumi.Output; /** * Key-value map of resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; }>; /** * [Reference Page](https://docs.controlplane.com/reference/secret#tls). */ readonly tls: pulumi.Output; /** * [Reference Page](https://docs.controlplane.com/reference/secret#username). */ readonly userpass: 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 { /** * [Reference Page](https://docs.controlplane.com/reference/secret#aws). */ aws?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#azure-connector). */ azureConnector?: pulumi.Input; /** * JSON string containing the Docker secret. [Reference Page](https://docs.controlplane.com/reference/secret#azure). */ azureSdk?: pulumi.Input; /** * The ID, in GUID format, of the secret. */ cplnId?: pulumi.Input; /** * Description of the secret. */ description?: pulumi.Input; /** * List of unique key-value pairs. [Reference Page](https://docs.controlplane.com/reference/secret#dictionary). */ dictionary?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * If a dictionary secret is defined, this output will be a key-value map in the following format: `key = cpln://secret/SECRET_NAME.key`. */ dictionaryAsEnvs?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * JSON string containing the Docker secret. [Reference Page](https://docs.controlplane.com/reference/secret#docker). */ docker?: pulumi.Input; ecr?: pulumi.Input; /** * JSON string containing the GCP secret. [Reference Page](https://docs.controlplane.com/reference/secret#gcp) */ gcp?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#keypair). */ keypair?: pulumi.Input; /** * Name of the secret. */ name?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#nats-account). */ natsAccount?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#opaque). */ opaque?: pulumi.Input; /** * Output used when linking a secret to an environment variable or volume. */ secretLink?: pulumi.Input; /** * Full link to this resource. Can be referenced by other resources. */ selfLink?: pulumi.Input; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * [Reference Page](https://docs.controlplane.com/reference/secret#tls). */ tls?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#username). */ userpass?: pulumi.Input; } /** * The set of arguments for constructing a Secret resource. */ export interface SecretArgs { /** * [Reference Page](https://docs.controlplane.com/reference/secret#aws). */ aws?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#azure-connector). */ azureConnector?: pulumi.Input; /** * JSON string containing the Docker secret. [Reference Page](https://docs.controlplane.com/reference/secret#azure). */ azureSdk?: pulumi.Input; /** * Description of the secret. */ description?: pulumi.Input; /** * List of unique key-value pairs. [Reference Page](https://docs.controlplane.com/reference/secret#dictionary). */ dictionary?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * JSON string containing the Docker secret. [Reference Page](https://docs.controlplane.com/reference/secret#docker). */ docker?: pulumi.Input; ecr?: pulumi.Input; /** * JSON string containing the GCP secret. [Reference Page](https://docs.controlplane.com/reference/secret#gcp) */ gcp?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#keypair). */ keypair?: pulumi.Input; /** * Name of the secret. */ name?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#nats-account). */ natsAccount?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#opaque). */ opaque?: pulumi.Input; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * [Reference Page](https://docs.controlplane.com/reference/secret#tls). */ tls?: pulumi.Input; /** * [Reference Page](https://docs.controlplane.com/reference/secret#username). */ userpass?: pulumi.Input; }