Secret management
Bearer secrets are displayed once. Service and personal credentials persist only as SHA-256 hashes; webhook signing secrets are encrypted beneath the owner-only data directory.
Creation
Name: production-importer
Kind: Service account
Scopes: records:read,records:writeCopy the returned value directly into the workload's secret manager. Do not place it in source, URLs, screenshots, browser bundles or ordinary logs.
Rotation without downtime
- Create a replacement with the same or narrower scopes.
- Deploy the replacement secret to the workload.
- Verify successful requests and updated last-used metadata.
- Revoke the old credential.
- Remove the retired secret from every environment and CI variable.
Incident response
Revoke a suspected credential immediately and inspect request-correlated audit facts. Because only a hash persists, Trestle cannot recover or display a lost bearer secret; create a replacement instead.
Separate identities
Use one credential per workload and environment. Personal tokens should have a human owner; service accounts should represent deployed systems. AWS credentials remain process configuration and are never copied into a Trestle bearer token.