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

feat: added double asterisk wildcard selector to prevent uppercasing of keys before exporting envs #545

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bagf
Copy link

@bagf bagf commented Apr 26, 2024

Description

When using the wildcard to match multiple secrets to export as env variables, all keys get uppercased. There are situations where this is undesirable. To maintain backwards compatibility I've added an alterative double asterisk ** which will avoid uppercasing exported env keys.

Relates #537

Closes #536

Checklist

  • Added CHANGELOG entry (only for user-facing changes)

Community Note

  • Please vote on this pull request by adding a 👍
    reaction
    to the original pull request comment to help the community and maintainers
    prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request
    followers and do not help prioritize the request

Copy link

hashicorp-cla-app bot commented Apr 26, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

@bagf
Copy link
Author

bagf commented May 16, 2024

fyi i've signed the CLA but it wont change status for some reason

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

Successfully merging this pull request may close these issues.

[BUG] Key transformed to uppercase when exported to env var using wildcard
1 participant