---
title: "#env articles | Hashnode"
description: "Explore 30 articles tagged #env on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/env"
---

Tag

# #env

30 posts · 1 followers

[江流石](https://hashnode.com/@jliushi) · [Oct 14](https://hashnode.com/posts/codex-ignores-your-key-until-you-export-relay-api-key/6acf852776050da0a25b6013)

### [Codex Ignores Your Key Until You Export RELAY\_API\_KEY](https://jliushi.hashnode.dev/codex-ignores-your-key-until-you-export-relay-api-key?utm_source=hashnode&utm_medium=feed)

This is for Codex CLI with a relay. You put env\_key = "RELAY\_API\_KEY" in config.toml. Codex still acts like you have no key. What env\_key actually does It only names the environment variable. It does

1 min read · [jliushi.hashnode.dev](https://jliushi.hashnode.dev/codex-ignores-your-key-until-you-export-relay-api-key?utm_source=hashnode&utm_medium=feed)

[Harshit Sahu](https://hashnode.com/@harshit2311) · [Aug 29](https://hashnode.com/posts/environment-variables-env-files-and-vault-basics/6a92aacca8f4a637b3e5cd31)

### [Environment Variables, .env Files, and Vault Basics](https://harshitsahu2311.hashnode.dev/environment-variables-env-files-and-vault-basics?utm_source=hashnode&utm_medium=feed)

"Your application should know how to run, not what secrets it owns." One of the biggest mistakes beginners make in software development and DevOps is storing passwords, API keys, and database credent

12 min read · [harshitsahu2311.hashnode.dev](https://harshitsahu2311.hashnode.dev/environment-variables-env-files-and-vault-basics?utm_source=hashnode&utm_medium=feed)

[Aniket Dey](https://hashnode.com/@AniketDey) · [Jul 15](https://hashnode.com/posts/stop-committing-secrets-automatically-generate-env-example-with-gen-envex/6a57cd832a25ace6dd6c4bfa)

### [Stop Committing Secrets: Automatically Generate .env.example with gen-envex](https://blog.aniketdey.in/stop-committing-secrets-automatically-generate-env-example-with-gen-envex?utm_source=hashnode&utm_medium=feed)

Automatically generate a clean .env.example from your .env file using gen-envex. Remove secret values, preserve comments, and keep your project secure

3 min read · [blog.aniketdey.in](https://blog.aniketdey.in/stop-committing-secrets-automatically-generate-env-example-with-gen-envex?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/stop-committing-secrets-automatically-generate-env-example-with-gen-envex/6a57cd832a25ace6dd6c4bfa)

[Ariska Hidayat](https://hashnode.com/@ariska138) · [Nov 12, 2025](https://hashnode.com/posts/t3-env-type-safe-environment-validation-untuk-typescript-and-nodejs/69146457a0146b15e0aacfd2)

### [t3-env: Type-safe Environment Validation untuk TypeScript & Node.js](https://tech.finlup.id/t3-env-type-safe-environment-validation-untuk-typescript-and-nodejs?utm_source=hashnode&utm_medium=feed)

📌 Pendahuluan Dalam pengembangan aplikasi modern — baik di Next.js, Hono, Bun, atau Node.js murni — kita sering menggunakan variabel environment (process.env) untuk menyimpan konfigurasi penting seperti: API key URL database Secret token Konfigu...

5 min read · [tech.finlup.id](https://tech.finlup.id/t3-env-type-safe-environment-validation-untuk-typescript-and-nodejs?utm_source=hashnode&utm_medium=feed)

[Ramu Narasinga](https://hashnode.com/@ramunarasinga) · [Oct 24, 2025](https://hashnode.com/posts/sanitizeenvvars-function-in-storybook-codebase/68fb9b83b6a89a79a741a69c)

### [sanitizeEnvVars function in Storybook codebase.](https://thinkthroo.com/blog/sanitizeenvvars-function-in-storybook-codebase?utm_source=hashnode&utm_medium=feed)

In this article, we review sanitizeEnvVars function in Storybook codebase. We will look at: sanitizeEnvVars function I study patterns used in an open source project found on Github Trending. For this week, I reviewed some parts of Storybook codeba...

2 min read · [thinkthroo.com](https://thinkthroo.com/blog/sanitizeenvvars-function-in-storybook-codebase?utm_source=hashnode&utm_medium=feed)

[Abinash Dash](https://hashnode.com/@abidev2003) · [Oct 16, 2025](https://hashnode.com/posts/where-to-keep-the-env-file-before-deploying-the-secure-way/68f108db4ec27906a76ebf18)

### [Where to Keep the .env File Before Deploying — The Secure Way](https://env-file-location-before-deploy.hashnode.dev/where-to-keep-the-env-file-before-deploying-the-secure-way?utm_source=hashnode&utm_medium=feed)

When deploying your React or Node.js app, one question a beginner developer faces is: “Where exactly should I keep my .env file?” And the short answer is — definitely not in your frontend.Let’s understand why and how to properly handle environment ...

3 min read · [env-file-location-before-deploy.hashnode.dev](https://env-file-location-before-deploy.hashnode.dev/where-to-keep-the-env-file-before-deploying-the-secure-way?utm_source=hashnode&utm_medium=feed)

[Esli Silva](https://hashnode.com/@esl1h) · [Sep 24, 2025](https://hashnode.com/posts/json-yaml-toml/68d42d4409ff85fff6649e33)

### [JSON vs YAML vs TOML: Formato de dados para projetos modernos](https://esli.hashnode.dev/json-yaml-toml?utm_source=hashnode&utm_medium=feed)

Escolhas técnicas que impactam produtividade e manutenibilidade

5 min read · [esli.hashnode.dev](https://esli.hashnode.dev/json-yaml-toml?utm_source=hashnode&utm_medium=feed)

[The Brown Box](https://hashnode.com/@hoangvancong) · [Aug 2, 2025](https://hashnode.com/posts/env-with-vite/688d8cab64194bbe22b062fd)

### [.env with vite](https://thebrownbox.hashnode.dev/env-with-vite?utm_source=hashnode&utm_medium=feed)

In vite project I use only 2 files: .env.development .env.production The env auto match with your build process without extra manual modification.

1 min read · [thebrownbox.hashnode.dev](https://thebrownbox.hashnode.dev/env-with-vite?utm_source=hashnode&utm_medium=feed)

[The Brown Box](https://hashnode.com/@hoangvancong) · [Jul 20, 2025](https://hashnode.com/posts/simple-env-management-with-nestjs-with-railway/687ca91d928e86b2057f9ea0)

### [Simple .env management with NestJS (with Railway)](https://thebrownbox.hashnode.dev/simple-env-management-with-nestjs-with-railway?utm_source=hashnode&utm_medium=feed)

I usually deploy my backend in railway.So I usually have only 2 env: local and prod. Create 2 env files: Copy file to .env file in deploy step in package.json Make sure in the PROD deployment we run the correct command (in this case is Railw...

1 min read · [thebrownbox.hashnode.dev](https://thebrownbox.hashnode.dev/simple-env-management-with-nestjs-with-railway?utm_source=hashnode&utm_medium=feed)

[The Brown Box](https://hashnode.com/@hoangvancong) · [Jul 19, 2025](https://hashnode.com/posts/env-files-in-quasar-vuejs/687bf046ee1e5353b2399f5b)

### [.env files in Quasar (VueJS)](https://thebrownbox.hashnode.dev/env-files-in-quasar-vuejs?utm_source=hashnode&utm_medium=feed)

Managing environment variables in quasar quite simple.My use case only have 2 environments: local & production.So I have only 2 files: .env.dev : for local .env.prod: for production No need naming conventions when work with quasar: And access t...

1 min read · [thebrownbox.hashnode.dev](https://thebrownbox.hashnode.dev/env-files-in-quasar-vuejs?utm_source=hashnode&utm_medium=feed)
