Skip to content

A remote cache key isn't set

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.

signature = true or encryption = true under [cache.remote] in axle.toml says every entry is signed or encrypted, 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.

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.