You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug You must provide a name for the output key when using json selectors. Input: "kv/data/gh-saas aws_external-s3-dt-v2_access_key_id"
To Reproduce
jobs:
# This workflow contains a single job called "build"
get-secrets:
# The type of runner that the job will run on
runs-on: self-hosted
permissions:
id-token: write
contents: read
steps:
- name: Retrieve secret from Vault
id: secrets
uses: 'hashicorp/vault-action@v2.4.2'
with:
method: jwt
url: ***
namespace: ***
role: gh-saas-production
exportToken: true
secrets: |
kv/data/gh-saas aws_external-s3-dt-v2_access_key_id;
Expected behavior
Getting value of key even if key has: _, -, . inside.
Log Output
##[debug]Evaluating condition for step: 'Retrieve secret from Vault'##[debug]Evaluating: success()##[debug]Evaluating success:##[debug]=> true##[debug]Result: true##[debug]Starting: Retrieve secret from Vault##[debug]Loading inputs##[debug]Loading env
Run hashicorp/vault-action@v2.4.2
::group::Get Vault Secrets
Get Vault Secrets
::endgroup::
Error: You must provide a name for the output key when using json selectors. Input: "kv/data/gh-saas aws_external-s3-dt-v2_access_key_id"##[debug]Node Action run completed with exit code 1##[debug]Finishing: Retrieve secret from Vault
Additional context
what's the accepted naming of the keys?
I see similar issue when key has dot inside like, pass.word
escaping does not help
The text was updated successfully, but these errors were encountered:
I am going to close this issue as this is the expected behavior for GH actions. If you continue to have issues please feel free to open another issue. Thanks!
Describe the bug
You must provide a name for the output key when using json selectors. Input: "kv/data/gh-saas aws_external-s3-dt-v2_access_key_id"
To Reproduce
Expected behavior
Getting value of key even if key has:
_, -, .
inside.Log Output
Additional context
dot
inside like,pass.word
The text was updated successfully, but these errors were encountered: