Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to fetch env variables from OS #759

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

abhinavs1920
Copy link
Contributor

PR Description

This PR adds support for fetching environment variables directly from the OS in API Dash. Users can now specify in the environment manager that a variable should be pulled from the system's environment variables instead of being stored in API Dash. The feature enhances security by allowing users to reference sensitive credentials (e.g., API keys, tokens, passwords) without exposing them in the app.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

  • Yes, tests has been added for the files which are modified by me.
  • No, and this is why:

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@abhinavs1920
Copy link
Contributor Author

@animator
Please check this, I have added the tests.

@animator
Copy link
Member

animator commented Apr 2, 2025

@animator Please check this, I have added the tests.

sure

@abhinavs1920
Copy link
Contributor Author

@animator Please check this, I have added the tests.

sure

@animator Can you also please look into this PR also. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reading environment variables directly from OS environment
2 participants