Environment variable consistency
See original GitHub issueSome environment variables start with SQLPAD while others don’t. I’ve also noticed some are quite long, and SQLPAD_ may not be necessary.
I’d like to make these consistent, and I’m leaning towards prefixing them all with SQLPAD_ or perhaps shortening the prefix to SP_ similar to how Metabase uses MB_.
Whatever the decision, I think the existing can be supported for a version, and a deprecation warning logged. This can also coincide with deprecating JSON/INI formats.
The biggest advantage for all this is simplifying documentation. No more needing to reference keyName and KEY_NAME or SQLPAD_KEY_NAME.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Defining a Consistent Environment - Java Extreme ... - O'Reilly
Any reliance on external resources, such as the CLASSPATH environment variable, opens the door for different developers to have different settings. Discussion.
Read more >What Are Environment Variables in Linux? Everything You ...
Environment variables are variables meant to be consistent across all instances of the Linux shell. When you launch a program from the shell,...
Read more >Ensure Consistency between Environment Variables during ...
I tested out your concern, and by default, there is no “consistency” between the environment variables and different jobs.
Read more >Consistent environment variables #26213 - nodejs/node
Essentially, I see the "binary invocation" as a discrete moment where ENV variables are collected and passed it to the process. They are...
Read more >10 Environment Variables Best Practices - CLIMB
Using consistent naming conventions helps to ensure that environment variables are easily identifiable and understandable.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for all the help renaming these @eladeyal-intel!
@eladeyal-intel I’ve renamed HTTPS cert/key variables since they are being left in.
I’m going to update
SERVICE_TOKEN_SECRETtoSQLPAD_SERVICE_TOKEN_SECRETthen tag 5.1.0