Shutting the project down¶
When leaving the project unmaintained, remove live secret material from cloud as well as disk. Clearing a local .env does not revoke keys.
Cloud checklist¶
- Railway — Delete the project (web, worker, beat, Postgres, Redis, buckets). Data at rest in Postgres included encrypted credentials.
- AWS
- Delete IAM users
timecard-webandtimecard-celery(and their access keys). - Schedule deletion / destroy the KMS CMK in the region used (
us-east-2historically). Until the CMK is gone, a DB backup + old decrypt key can still recover passwords. - Resend / Mailtrap — Revoke API keys.
- Timecard portal — Change any password that was ever typed into
.envor the form (and assume enrollments may have stored it encrypted). - Cloudflare — Remove Pages project and Access application for docs if still published.
- GitHub — Keep the repo private or archive/delete; scrub history if personal emails/account ids were ever committed.
Local checklist¶
- Blank or delete
src/.env. - Delete
screenshots/,test-results/, and any local Postgres data directory forsignoff_db. - Do not commit traces or portal screenshots (employee name, IDs, punches).
See also the root README for the KMS threat model that motivated destroying the CMK.