# createInMemoryFtKeyStore · FT4 TypeScript client · Chromia Docs (concept)

> createInMemoryFtKeyStore(keyHolder: KeyPair | SignatureProvider): FtKeyStore Creates an FtKeyStore instance which will only keep the keys in memory. That i

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.createInMemoryFtKeyStore/

Function

# createInMemoryFtKeyStore

* ```signature
  createInMemoryFtKeyStore(keyHolder: KeyPair | SignatureProvider): FtKeyStore
  ```

  Creates an FtKeyStore instance which will only keep the keys in memory. That is,
  if the app is restarted or reloaded, the keys will be gone. Good for testing or
  for keys that are ephemeral in nature.

  #### Parameters

  + keyHolder: KeyPair | SignatureProvider

    the object that holds the keys

  #### Returns [FtKeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.FtKeyStore/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.createInMemoryFtKeyStore.html)Generated API reference, mirrored from the live docs
