in src/provider/provider_chain.ts [21:31]
export function getCredentials(providers: IProvider[] = null): ICredential {
const providerChain = providers || defaultProviders;
for (const provider of providerChain) {
const credential = provider.getCredential();
if (credential) {
return credential;
}
}
throw new Error('Not found credentials');
}