import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve signing keys used by the applications in your tenant. [Learn more](https://auth0.com/docs/get-started/tenant-settings/signing-keys). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * function tryOutput_( * ...fns: Array<() => pulumi.Input> * ): pulumi.Output { * if (fns.length === 0) { * throw new Error("try: all parameters failed"); * } * const [fn, ...rest] = fns; * try { * return pulumi.output(fn()).apply(result => result !== undefined ? result : tryOutput_(...rest)); * } catch { * return tryOutput_(...rest); * } * throw new Error("try: all parameters failed"); * } * * * const myKeys = auth0.getSigningKeys({}); * export const currentKey = tryOutput_( * () => myKeys.then(myKeys => .filter(key => key.current).map(key => (key.kid)))[0], * () => "No current key found" * ); * ``` */ export declare function getSigningKeys(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getSigningKeys. */ export interface GetSigningKeysResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * All application signing keys. */ readonly signingKeys: outputs.GetSigningKeysSigningKey[]; } /** * Data source to retrieve signing keys used by the applications in your tenant. [Learn more](https://auth0.com/docs/get-started/tenant-settings/signing-keys). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * function tryOutput_( * ...fns: Array<() => pulumi.Input> * ): pulumi.Output { * if (fns.length === 0) { * throw new Error("try: all parameters failed"); * } * const [fn, ...rest] = fns; * try { * return pulumi.output(fn()).apply(result => result !== undefined ? result : tryOutput_(...rest)); * } catch { * return tryOutput_(...rest); * } * throw new Error("try: all parameters failed"); * } * * * const myKeys = auth0.getSigningKeys({}); * export const currentKey = tryOutput_( * () => myKeys.then(myKeys => .filter(key => key.current).map(key => (key.kid)))[0], * () => "No current key found" * ); * ``` */ export declare function getSigningKeysOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output; //# sourceMappingURL=getSigningKeys.d.ts.map