import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve information about an existing api key. Deprecated. This will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use the datadog.ApiKey resource to manage API keys in your Datadog account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const foo = datadog.getApiKey({ * name: "foo-application", * }); * ``` */ export declare function getApiKey(args?: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getApiKey. */ export interface GetApiKeyArgs { /** * Whether to use exact match when searching by name. */ exactMatch?: boolean; /** * The ID of this resource. */ id?: string; /** * Name for API Key. */ name?: string; } /** * A collection of values returned by getApiKey. */ export interface GetApiKeyResult { /** * Whether to use exact match when searching by name. */ readonly exactMatch?: boolean; /** * The ID of this resource. */ readonly id?: string; /** * The value of the API Key. */ readonly key: string; /** * Name for API Key. */ readonly name?: string; /** * Whether the API key is used for remote config. */ readonly remoteConfigReadEnabled: boolean; } /** * Use this data source to retrieve information about an existing api key. Deprecated. This will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use the datadog.ApiKey resource to manage API keys in your Datadog account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const foo = datadog.getApiKey({ * name: "foo-application", * }); * ``` */ export declare function getApiKeyOutput(args?: GetApiKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getApiKey. */ export interface GetApiKeyOutputArgs { /** * Whether to use exact match when searching by name. */ exactMatch?: pulumi.Input; /** * The ID of this resource. */ id?: pulumi.Input; /** * Name for API Key. */ name?: pulumi.Input; }