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

> Holds a key which can either be interactive or non-interactive interface KeyStore { id : Buffer; isInteractive : boolean; createKeyHandler (authDescriptor:

Source: https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.KeyStore/

Interface

# KeyStore

On this page

* [Properties](#properties)
* [id](#id)
* [isInteractive](#isinteractive)
* [Methods](#methods)
* [createKeyHandler](#createkeyhandler)

Holds a key which can either be interactive or non-interactive

```signature
interface KeyStore {
    id: Buffer;
    isInteractive: boolean;
    createKeyHandler(authDescriptor: AnyAuthDescriptor): KeyHandler;
}
```

#### Hierarchy ([View Summary](https://docs.chromia.com/pages/ft4-ts-client/hierarchy/#authentication.KeyStore))

* KeyStore
  + [EvmKeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.EvmKeyStore/)
  + [FtKeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.FtKeyStore/)

## Properties

### id

```signature
id: Buffer
```

### isInteractive

```signature
isInteractive: boolean
```

## Methods

### createKeyHandler

* ```signature
  createKeyHandler(authDescriptor: AnyAuthDescriptor): KeyHandler
  ```

  Creates a KeyHandler instance from this KeyStore instance

  #### Parameters

  + authDescriptor: [AnyAuthDescriptor](https://docs.chromia.com/pages/ft4-ts-client/types/accounts.AnyAuthDescriptor/)

    the auth descriptor to use with the KeyHandler

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

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