> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# keyFromString

```typescript
keyFromString(value: string): Key
```

Convert a string representation into a `Key`.

## Parameters

<ResponseField name={"value"} type={"string"} required />

## Returns

`Key`
