ben
How to copy files in parent directory into app source directory
Main thing is that it enables easier collaboration and avoids me having to log into each platform I use to configure env vars
let's say I start doing billing stuff with stripe. I can just add my encrypted stripe api key to the .env.development and .env.production files.
i commit those changes, and now my teammates can see and use those env vars without having to take action to pull them down from somewhere
19 replies
How to copy files in parent directory into app source directory
@Joshie I made an explicit choice to use dotenvx. All of my secrets in these files are encrypted, ex:
and I simply set a single standard env var that lets me decrypt the rest of them. I find this easier to manage, and makes it simpler to share secrets with the rest of my team.
19 replies