import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about a specific Synthetics secure credential in New Relic that already exists. * * Note that the secure credential's value is not returned as an attribute for security reasons. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const foo = newrelic.synthetics.getSecureCredential({ * key: "MY_KEY", * }); * ``` */ export declare function getSecureCredential(args: GetSecureCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSecureCredential. */ export interface GetSecureCredentialArgs { /** * The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used. */ accountId?: string; /** * The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API. */ key: string; } /** * A collection of values returned by getSecureCredential. */ export interface GetSecureCredentialResult { readonly accountId: string; /** * The secure credential's description. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly key: string; /** * The time the secure credential was last updated. */ readonly lastUpdated: string; } /** * Use this data source to get information about a specific Synthetics secure credential in New Relic that already exists. * * Note that the secure credential's value is not returned as an attribute for security reasons. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const foo = newrelic.synthetics.getSecureCredential({ * key: "MY_KEY", * }); * ``` */ export declare function getSecureCredentialOutput(args: GetSecureCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSecureCredential. */ export interface GetSecureCredentialOutputArgs { /** * The account in New Relic associated with the secure credential. Defaults to the account associated with the API key used. */ accountId?: pulumi.Input; /** * The secure credential's key name. Regardless of the case used in the configuration, the provider will provide an upcased key to the underlying API. */ key: pulumi.Input; } //# sourceMappingURL=getSecureCredential.d.ts.map