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

> getKeyHandlersForKeyStores(
    connection: Connection ,
    accountId: Buffer,
    keyStores: KeyStore [],
): Promise< KeyHandler []> Converts a list of k

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

Function

# getKeyHandlersForKeyStores

* ```signature
  getKeyHandlersForKeyStores(
      connection: Connection,
      accountId: Buffer,
      keyStores: KeyStore[],
  ): Promise<KeyHandler[]>
  ```

  Converts a list of keystores into a list of key handlers

  #### Parameters

  + connection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    connection to the blockchain of interest
  + accountId: Buffer

    the id of the account of which the key handlers should be valid
  + keyStores: [KeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.KeyStore/)[]

    the key stores to convert to key handlers

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

  a list of ket handlers

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