-
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
[BUG] The Vault action fails if the secret key contains a dot when using wildcards #541
Comments
Similar with this error #504, but with wildcard. |
Thanks for reporting @hazerlin-houzz ! You can test my fix by pulling in my branch
But please be aware that this will bump your action to v3. I see you are currently on v2. |
@fairclothjm thanks for quick response. After I tested with my case, but still got the following error.
the key value in my test case is |
@hazerlin-houzz Thanks for reporting that error. That was related to a different change we made. It should be fixed now. You can try again using the |
Vault server version
v1.8.2 enterprise
vault-action version
v2
Describe the bug
The Vault Action fails if any secret key contains a dot when using wildcards
Example:
addvertise_link.json
To Reproduce
Fetch all secrets in certain folder
But if there is a secret include dot when using wildcards, such as
addvertise_link.json
. The workflow will fail.Error message
Error: Unable to retrieve result for data.data."
*". No match data was found. Double check your Key or Selector.
Expected behavior
Get all secrets in specific folder
The text was updated successfully, but these errors were encountered: