default env values from value
I am reading through the documentation of many secret vaults for my environment variables, as I am attempting to host my application on a vps. I don't want my secrets on the server that is executing the code though. Where would I look to implement something like this in env.js on server startup? Also would love any documentation surrounding this. Any help is greatly appreciated!
2 Replies
I'm not an expert but can't you replace the
process.env
with your own logic?I would recommend you reading this: https://github.com/t3-oss/t3-env/issues/146
GitHub
async env variables ยท Issue #146 ยท t3-oss/t3-env
Hey, I was wondering if it was possible to update env variables async at boottime? I have an env variable based on a server-side call, so would love to have something like: runtimeEnvs: { MY_ENV: a...