I have an application that has grown fairly complex, and it has many external API integrations. Because of this, I have a lot of environment variables to hold various API keys and whatnot. However, I am now getting an error that pops up at the top of the screen (not in the terminal) saying “Command failed: command too long”. This happens once I have more than 16 environment variables.
I was not able to find any inherent limitations in Linux regarding the number of environment variables. Help? I can’t even get it to start running my application with this many variables, and it isn’t really an option to hard code them either because I’m not committing my keys to source control.