Authentication
Note
To be written.
Thatch authenticates API requests with a bearer API key issued from the Portal.
curl https://api.thatch.cloud/v1/... \
-H "Authorization: Bearer $THATCH_API_KEY"
Rules of thumb
- Keys are secrets. Store them in your platform’s secret manager, not in source
control, CI logs, or a
.envcommitted by accident. - Rotate on a schedule, and immediately if a key may have been exposed — see API keys.
- Use one key per application or environment so revoking one doesn’t take everything else down with it.