-
Notifications
You must be signed in to change notification settings - Fork 139
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
How to import all keys from specific path #234
Comments
I was going to open another enhancement request to read all secrets in the provided path without specifying each one in the secrets input: I think this enhancement would just take changes in secrets.js getSecrets(): |
Is this anything like you're looking for? #153 (comment) |
The issue with keys having dashes (e.g., "foo-bar") was reported in Nov 2020 and I think that was fixed because the automated tests (in v 2.3.0) have a key of "other-Secret-dash" that passes (so I am not sure why #153 was not closed). The implementation I just developed to read all keys in a path uses the same logic as individual keys and does not return a JSON output. If the wildcard * is passed, the JSON returned for the path is parsed to find the name of each key, retrieve the value, and then normalize the name that will be used for output/environment variable. |
Hello, I'm happy to report that this feature has been implemented in #488 . In short, it is not possible to fetch all keys from a given path with the wildcard character:
Cheers! |
Is there a way to import all keys from specific path
The text was updated successfully, but these errors were encountered: