GoogleCloudPlatform / cloud-code-vscode

Cloud Code for Visual Studio Code: Issues, Documentation and more
Other
415 stars 111 forks source link

Use .env file or secrets manager instead of declaring environment variables in launch.json for Cloud Run Emulator #897

Open thoughtfuldata opened 5 months ago

thoughtfuldata commented 5 months ago

Use case I would like to use environment variables or the secrets manager to set the environment variables while running Google Cloud run emulator.

Alternatively, let us use something similar to "runArgs" in devcontainer.json so we can use ["--env-file"," FILENAME.env"],

Feature This would allow me to commit launch.json into GitHub without exposing sensitive passwords and keys.

I already have a .env file, so it would make it simpler to have only one place to update these environment variables

sripasg commented 5 months ago

Thank you for the suggestion. We have registered this request and will prioritize appropriately.