Is it okay to commit a config-only .env file to a private repo?
Several private repos use .env files for secrets, server addresses and runtime tuning. Secrets will stay out of Git, but can the non-secret settings go in the repos?…
Several private repos use .env files for secrets, server addresses and runtime tuning. Secrets will stay out of Git, but can the non-secret settings go in the repos?…
I'm setting up a tool that generates API keys and want to avoid accidentally exposing them. What do you use to generate, store, and access secrets across development…
Keeping a .env file out of version control seems useful, but a build can still put its contents into code sent to users. What checks and safeguards help…
Deploys were paused for over a day, and a security email prompted me to rotate my keys. I moved the project to Render by reconnecting the repository and…
I want to keep my Docker Compose stacks in a Git repository and deploy them to a server. If the .env files stay out of Git, how do…
I need to extract the application version from pyproject.toml using this awk command: awk -F'"' '/^version[[:space:]]*=/ {print $2; exit}' pyproject.toml. What is the correct way to assign that…
I need to read the application version from my pyproject.toml file using this awk command: awk -F'"' '/^version[[:space:]]*=/ {print $2; exit}' pyproject.toml. What is the correct way to…
We're using blue/green and canary deployments with revision labels for several Azure Container Apps, such as an API and an authentication service. Each revision has environment variables that…
We're using blue/green and canary deployments in Azure Container Apps with revision labels. Each revision currently contains environment variables such as the API's auth-service URL and frontend URL.…
When I run a coding agent locally, it can inherit the environment variables from the shell that launched it. That could expose API keys or credentials belonging to…
When I run a coding agent locally, it can inherit the environment variables from my current shell. That might expose API keys, tokens, or credentials belonging to unrelated…
I got into Docker through a web-based setup tool, and now more than half of my system runs in containers. My services currently live under paths such as…
I'm new to Bash and need an installation script for Linux/Ubuntu. The script should locate the current user's Downloads directory, whether it is named "Downloads" or the French…
I built a full-stack MERN project and previously deployed the frontend and backend as two separate deployments. After recently updating the project, the frontend deployed normally, but the…
We use Next.js for our frontend services and want to deploy the same codebase to both preproduction and production. At the moment, separate branches build separate container images…
I've been using a .env file for managing environment variables, but I'm starting to worry about the security risks associated with it. Are there any better alternatives out…
I'm currently using .env files for environment variables, but I've heard they might pose some security risks. What alternatives can I consider? I tried setting up Infisical and…
I've set my PROMPT_COMMAND in my .bash_profile using the command `export PROMPT_COMMAND="echo hello"`. It works just fine in a login shell, but when I start a subshell by…
I'm diving into bash scripting and learning on my own, but I'm getting a bit confused about environment variables. From what I understand, environment variables are essentially variables…
I'm diving into Bash scripting and learning from resources like Linux Journey, but I'm a bit stuck on the concept of environment variables. As I understand it, environment…