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

Tag

# #environment-variables

222 posts · 12 followers

[Sanskriti Harmukh](https://hashnode.com/@sharmukh) · [20h ago](https://hashnode.com/posts/creating-environment-variables-in-linux/6aff9e50e151cad785a35e81)

### [Creating Environment Variables in Linux](https://vultr.hashnode.dev/creating-environment-variables-in-linux?utm_source=hashnode&utm_medium=feed)

View, create, persist, modify, and remove environment variables in Linux, and reference them inside Bash scripts.

6 min read · [vultr.hashnode.dev](https://vultr.hashnode.dev/creating-environment-variables-in-linux?utm_source=hashnode&utm_medium=feed)

[Doug Niccum](https://hashnode.com/@dougniccum) · [3d ago](https://hashnode.com/posts/hardcoded-credentials-cwe-798-fix/6afc651405b5bcee13f7b455)

### [Hardcoded Credentials: What They Are and How to Fix Them](https://notes.secretstash.cloud/hardcoded-credentials-cwe-798-fix?utm_source=hashnode&utm_medium=feed)

How CWE and OWASP classify hardcoded secrets, how to find them, and a step-by-step fix for teams of 2 to 20.

12 min read · [notes.secretstash.cloud](https://notes.secretstash.cloud/hardcoded-credentials-cwe-798-fix?utm_source=hashnode&utm_medium=feed)

[Doug Niccum](https://hashnode.com/@dougniccum) · [Nov 12](https://hashnode.com/posts/aws-environment-variables-compared/6af5cd9c2deb35d1c0badf30)

### [How AWS Environment Variables Work (and How They Compare)](https://notes.secretstash.cloud/aws-environment-variables-compared?utm_source=hashnode&utm_medium=feed)

Where AWS, GitLab CI, Jenkins, Docker Compose, and Python store, scope, and expose env vars, and which value wins.

12 min read · [notes.secretstash.cloud](https://notes.secretstash.cloud/aws-environment-variables-compared?utm_source=hashnode&utm_medium=feed)

[Doug Niccum](https://hashnode.com/@dougniccum) · [Nov 5](https://hashnode.com/posts/drone-env-vars-complete-reference/6aec9324b7e07ba609d4d820)

### [Drone env vars: the complete reference](https://notes.secretstash.cloud/drone-env-vars-complete-reference?utm_source=hashnode&utm_medium=feed)

Built-in DRONE\_\* variables, pipeline and step scoping, from\_secret, debugging, and when a dedicated secrets manager beats Drone-native secrets.

12 min read · [notes.secretstash.cloud](https://notes.secretstash.cloud/drone-env-vars-complete-reference?utm_source=hashnode&utm_medium=feed)

[Doug Niccum](https://hashnode.com/@dougniccum) · [Nov 2](https://hashnode.com/posts/onboarding-new-developers-day-1-5-checklist/6ae897aba04da8836eb0f982)

### [Onboarding New Developers: A Day 1-5 Checklist](https://notes.secretstash.cloud/onboarding-new-developers-day-1-5-checklist?utm_source=hashnode&utm_medium=feed)

Get a new hire from clone to productive in five days, with secure env var provisioning and zero secrets pasted into Slack

11 min read · [notes.secretstash.cloud](https://notes.secretstash.cloud/onboarding-new-developers-day-1-5-checklist?utm_source=hashnode&utm_medium=feed)

[Doug Niccum](https://hashnode.com/@dougniccum) · [Oct 29](https://hashnode.com/posts/docker-compose-nodejs-environment-variables/6ae37ffc8be985b62d093a8f)

### [Docker Compose Node.js Environment Variables: All Methods](https://notes.secretstash.cloud/docker-compose-nodejs-environment-variables?utm_source=hashnode&utm_medium=feed)

Four ways to inject env vars, which one wins, and how to debug undefined, stale, and Windows-broken values

13 min read · [notes.secretstash.cloud](https://notes.secretstash.cloud/docker-compose-nodejs-environment-variables?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/docker-compose-nodejs-environment-variables/6ae37ffc8be985b62d093a8f)

[Mauricio Villegas](https://hashnode.com/@mauvilsa) · [Sep 2](https://hashnode.com/posts/settings-from-the-environment/6a98710565dc67082b2c9426)

### [Settings from the environment](https://mauvilsa.hashnode.dev/settings-from-the-environment?utm_source=hashnode&utm_medium=feed)

Two jsonargparse args give a Python CLI an environment variable for every option, and for the subcommand itself, so a Docker image needs no arguments.

13 min read · [mauvilsa.hashnode.dev](https://mauvilsa.hashnode.dev/settings-from-the-environment?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)

[Eva J Patel](https://hashnode.com/@evapatel123) · [Jul 29](https://hashnode.com/posts/stop-uploading-your-api-keys-to-github-github-secrets-explained-in-easy-words/6a6953dc4eb31e46a4ac91f2)

### [Stop Uploading Your API Keys to GitHub : GitHub Secrets Explained in Easy Words](https://evapatel123.hashnode.dev/stop-uploading-your-api-keys-to-github-github-secrets-explained-in-easy-words?utm_source=hashnode&utm_medium=feed)

Leaked your API key on GitHub? Learn .env files, GitHub Secrets, environment variables, and API security in Gen-Z.

7 min read · [evapatel123.hashnode.dev](https://evapatel123.hashnode.dev/stop-uploading-your-api-keys-to-github-github-secrets-explained-in-easy-words?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)
