An interface for an object that securely stores API keys and application keys.

interface ApiXKeyStore {
    getApiKey(): string | Promise<string>;
    getAppKey(): string | Promise<string>;
    getKeys(): ApiXKeys | Promise<ApiXKeys>;
}

Implemented by

Methods