shyim / idea-1password

Integrate 1Password into Intellij based IDEs
Apache License 2.0
21 stars 5 forks source link

Secret in environment variable (run configuration) #1

Open bric3 opened 1 year ago

bric3 commented 1 year ago

It would be practical to be able to have environment variable with a value provider whose value is a secret that can be fetched in 1Password.

image
op item get "finnhub" --fields "token"

I understand though that the IntelliJ SDK must provide a facility for such a feature.

shyim commented 1 year ago

That should be possible, but needs to be implemented into each Language.

JeroenVdb commented 2 months ago

This would be an awesome feature. For Node run configurations I can't set environmental variables in another way as far as I know. Having the possibility to run the 1Password macro in the env variables would be very helpful.