import { Source } from './Source'; /** * This expects to interact with a Lambda service to request secrets and get back an encrypted value * where KMS decrypt is needed in order to get the secrets. */ export declare class LambdaKMSStore implements Source { private readonly secureCache; private readonly logger; private readonly region; private readonly kmsARN; private readonly lambdaARN; private readonly secrets; private readonly keys; private readonly lambda; private readonly kms; private initialized; private loading; /** * This object must be initialized with all the configuration keys you expect to load. * * @param lambdaARN the full ARN of the lambda that will be invoked to return the secrets. * @param kmsARN the full ARN of the KMS used to decrypt the secrets returned. * @param secrets a comma separated list of the secret sources to consider. * @param keys all of the keys that you want to retrieve from the configuration source later. */ constructor(lambdaARN: string, kmsARN: string, secrets: string, ...keys: string[]); /** * Invoke the lambda function and retrieve all the requested config keys. */ refresh(): Promise; get(name: string): Promise; }