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

Import secrets matching regex/glob pattern #336

Open
rafiksargsyan opened this issue Jun 20, 2022 · 1 comment
Open

Import secrets matching regex/glob pattern #336

rafiksargsyan opened this issue Jun 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@rafiksargsyan
Copy link

Is your feature request related to a problem? Please describe.
When there are many secrets one has to add them one by one, which is not only inconvenient but also pollutes the GitHub workflow files.

Describe the solution you'd like
Allow importing secrets using regex/glob pattern. For example to specify secrets for the dev environment one could import secrets using the "DEV_*" pattern.

@austingebauer
Copy link
Contributor

austingebauer commented Jan 2, 2024

Hi @rafiksargsyan - I want to confirm that you're asking for something like the following which builds on wildcard multiple secret support at the key-value level:

with:
    secrets: |
        secret/data/ci/aws DEV_* | MYAPP_ ;

This seems like a reasonable request if that's the case. If you're asking to support many secrets at the Vault KV path level (for example, secret/data/ci/*), then I don't think it's something we can do with Vault today.

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

No branches or pull requests

2 participants