# A remote cache key isn't set

What "[cache.remote] in axle.toml asks for a key" means and how to fix it.

```text
error: [cache.remote] in axle.toml asks for a key, and AXLE_REMOTE_CACHE_SIGNATURE_KEY isn't set
hint: Set AXLE_REMOTE_CACHE_SIGNATURE_KEY to the team's secret, at least 32 characters long.
```

## Why it happens

`signature = true` or `encryption = true` under `[cache.remote]` in `axle.toml` says every entry is [signed or encrypted](https://axlers.dev/docs/reference/remote-cache.md#signed-and-encrypted-entries), and the key for it, `AXLE_REMOTE_CACHE_SIGNATURE_KEY` or `AXLE_REMOTE_CACHE_ENCRYPTION_KEY`, isn't set. Axle stops rather than share entries without them.

## How to fix it

Set the variable to the team's secret, the same on every machine and in CI, for example from the CI service's secrets. To run without the remote cache for a while, use `--cache local:rw,remote:off`.
