apidash icon indicating copy to clipboard operation
apidash copied to clipboard

Reading environment variables directly from OS environment

Open ashitaprasad opened this issue 10 months ago • 7 comments

Tell us about the task you want to perform and are unable to do so because the feature is not available

It would be great if API Dash has the ability to read environment variables from the operating system. This way it can access security credentials (like a password) and other system level variables.

ashitaprasad avatar Feb 22 '25 16:02 ashitaprasad

I would like to work on this issue. Please assign me.

Jaishree2310 avatar Feb 27 '25 18:02 Jaishree2310

I'm interested in working on this! Could you elaborate more on the details?

PramodMagadum avatar Mar 02 '25 19:03 PramodMagadum

I'm interested in working on this! Could you elaborate more on the details?

@PramodMagadum Environment variable values are specified by the end user in the environment manager page. The goal is to add some provision where the user can specify that the value must be picked from OS environment. Things like tokens, passwords, etc are stored by many users in OS environment.

ashitaprasad avatar Mar 02 '25 23:03 ashitaprasad

@ashitaprasad Got it, I will look into it and I will get started with working on it

PramodMagadum avatar Mar 03 '25 15:03 PramodMagadum

@ashitaprasad I have completed the basic implementation, and it is running successfully on Windows. However, I don't have access to Mac or Linux to test it. Can anyone guide me on how to check its functionality on other platforms?

PramodMagadum avatar Mar 06 '25 05:03 PramodMagadum

@PramodMagadum You can test it on Linux using VM. Post which you can send a PR which we will test on macOS

ashitaprasad avatar Mar 06 '25 17:03 ashitaprasad