---
description: Builds a key.
---

# buildKey(key)

You might ask, why there is such a method when you already provide a key? Well, this has been partially answered in [keys](../../../basic-structure#keys-are-built) docs.

### **Arguments**

1. `key` _(string)_: A string used to store an item under in cache.

### **Returns**

_(string)_: Built key.

### Example

```javascript
const key = adapter.buildKey('key');
```
