import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets metadata for a given Secret. */ export declare function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetSecretArgs { project?: string; secretId: string; } export interface GetSecretResult { /** * The time at which the Secret was created. */ readonly createTime: string; /** * The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `\p{Ll}\p{Lo}{0,62}` Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}` No more than 64 labels can be assigned to a given resource. */ readonly labels: { [key: string]: string; }; /** * The resource name of the Secret in the format `projects/*/secrets/*`. */ readonly name: string; /** * Immutable. The replication policy of the secret data attached to the Secret. The replication policy cannot be changed after the Secret has been created. */ readonly replication: outputs.secretmanager.v1beta1.ReplicationResponse; } /** * Gets metadata for a given Secret. */ export declare function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetSecretOutputArgs { project?: pulumi.Input; secretId: pulumi.Input; }