get

wallet.get({ options.name = 'default'[, options.contextId[, options.jobName]], options.checkEmpty = true[, options.KeystoreConstructor] })

This loads a Keystore File via load().

Arguments:
  • options.name (string) – The keystore name.

  • options.contextId (string) – An optional, user-defined identifier used for caching keystores.

  • options.jobName (string) – An optional name for the job that they keystore is being requested for.

  • options.checkEmpty (boolean) – Try an empty password before prompting user. Defaults to true.

  • options.KeystoreConstructor (function) – The constructor to use for the keystore. Defaults to default DCP Keystore constructor.

Return type:

Promise<AuthKeystore>