Skip to content

RequestConnector: read basic auth credentials from env#2090

Open
maghibus wants to merge 3 commits intothingsboard:masterfrom
maghibus:master
Open

RequestConnector: read basic auth credentials from env#2090
maghibus wants to merge 3 commits intothingsboard:masterfrom
maghibus:master

Conversation

@maghibus
Copy link

RequestConnector can now read Basic Authentication credentials from environment variables, making configuration simpler and more suitable for containerized/CI environments.

What changed

  • Added support for reading REQUEST_BASIC_USERNAME and REQUEST_BASIC_PASSWORD from env.
  • RequestConnector uses these credentials when present.

Why

  • Avoid storing credentials in config files.
  • Improve portability across environments (dev/test/prod).

How to test

  1. Set REQUEST_BASIC_USERNAME and REQUEST_BASIC_PASSWORD.
  2. Start the gateway with a configured Request Connector.
  3. Verify the request is authenticated correctly (or logs confirm env credentials are used).

Notes
If env vars are not set, previous behavior remains (to confirm).

@CLAassistant
Copy link

CLAassistant commented Feb 25, 2026

CLA assistant check
All committers have signed the CLA.

@samson0v samson0v added this to the 3.8.3 milestone Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants