StaticKeystoreProvider
Class: StaticKeystoreProvider
StaticKeystoreProvider will look for a privateKeyOverride
in the provided options,
and bootstrap a Keystore using those options if provided.
If no privateKeyOverride
is supplied will throw a KeystoreProviderUnavailableError
causing
the client to continue iterating through the KeystoreProviders
list.
Implements
Constructors
constructor
new StaticKeystoreProvider()
Methods
newKeystore
newKeystore(opts
): Promise
<Keystore
>
Parameters
Name | Type |
---|---|
opts | KeystoreProviderOptions |
Returns
Promise
<Keystore
>