Achieving Type-Safe Environment Variables with Parsing and Validation

What's the best way to have type-safe environment variables? I already know about Config.redacted, but that doesn't add parsing, type-safety and validation (e.g. is this URL?).
Was this page helpful?