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

Be able to set env variables retrieved from secrets in the env section instead of using export #235

Open
PabloZaiden opened this issue Oct 18, 2023 · 0 comments
Labels
enhancement New feature or request GitHub

Comments

@PabloZaiden
Copy link
Contributor

Currently, there are several jobs that retrieve secrets from key vault and later set them as environment variables for other steps.

The issue is that right now the script that retrieves the values adds double quotes surrounding the retrieved values. That has the side effect of not being able to set the environment variables directly in the env section of the steps and having to write export mySecret=${{...}} inside the script.

When retrieving secrets, they should be returned without double-quotes so they can be used in both scenarios.

@PabloZaiden PabloZaiden added enhancement New feature or request GitHub labels Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GitHub
Projects
None yet
Development

No branches or pull requests

1 participant