macOS tip: store secrets and tokens in Apple Keychain instead of env files
HankYeomans · x · 2026-09-10
A practical macOS tip: you can store secrets, tokens, and certs in Apple's Keychain instead of environment variables or .env files, and reference them without exposing their contents. Not suited for every use case, but a nice way to reduce the risk of credentials leaking into code or logs.
Related event: macOS Tip: Store Secrets in Keychain Instead of Env Files(2 posts)→
More from coding & agent
- Stanford's PaperFormalizer turns research papers into Lean-verified versions with author in the loop — StanfordUniversity · 2026-10-27
- Hugging Face TRL makes score centering + masked importance sampling default in async GRPO — _lewtun · 2026-10-27
- Firecrawl offers 2.5x credits to a16z Speedrun founders, unveils $75M Series B — devdigest · 2026-10-27
- Chums: open-source Apple Watch app puts Claude Code and Codex on your wrist — brandon_galang · 2026-10-27
- Open-source Clairic Studio turns pasted text into typed data and working code in 5 languages — dfinke · 2026-10-27
- Matt Pocock shares expand/contract trick: split one-way-door PRs to de-risk big changes — mattpocockuk · 2026-10-27