Credentials as ENV vars not working?
See original GitHub issueI’m trying to use in a demo environment with easiest-possible login.
docker run -d -p 3000:3000 -e SQLPAD_ADMIN="abc@abc.com" -e SQLPAD_PASSPHRASE="abc" sqlpad/sqlpad
The env vars are getting passed in to Docker okay:
docker inspect ...
...
"Env": [
"SQLPAD_ADMIN=abc@abc.com",
"SQLPAD_PASSPHRASE=abc",
...
But I cannot login with the given credentials.
Am I missing something? (Sorry if so).
How can I deliver/deploy/demo with a known set of credentials that “just work”?
Thanks. This is an awesome product.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Setting credentials through env. variable are not working #1807
I'm failing to use env. variables to set custom pypi credentials. My pyproject.toml contains private pypi's like this: [[tool.poetry.
Read more >Using credentials from environment variables - AWS SDK for ...
To authenticate to Amazon Web Services, the SDK first checks for credentials in your environment variables. The SDK uses the getenv() function to...
Read more >Is it secure to store passwords as environment variables ...
For an npm to look at your credentials if they are in the ENV is a simple matter of process.ENV . If on...
Read more >How to separate your credentials, secrets, and configurations ...
This article shows how to separate your credentials and configurations from the application source code with the environment variables and ...
Read more >Keep your code secure by using environment variables and ...
Then you just publicly present your credentials to anyone who comes across it! ... Loading env vars into the env from an env...
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

Apologies for the poor docker documentation… I know I need to work on that. The best thing I can point to right now is an example using mssql https://github.com/rickbergfalk/sqlpad/blob/master/docker-validation/mssql/docker-compose.yml
Today there is no way to configure connections via env vars.
What is your take on user accounts in SQLPad? If they were removed would that be beneficial for your use case?
@rickbergfalk officially +1’ing this. Would you have any guidance of where one would look to disable the authentication requirement?