Describe the bug
I want to use vault-action only to authenticate to vault instance with an approle, and generate a VAULT_TOKEN to use with Terraform and vault-provider, and without retrieve secrets. But vault-action require to specify secrets.
To Reproduce
Use vault-action without secrets :
- name: Authenticate to Vault
uses: hashicorp/vault-action@v2.1.0
with:
url: https://my-vault-instance
method: approle
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
exportToken: true
Expected behavior
vault-action should authenticate and produces a masked environment variable VAULT_TOKEN.
Log Output
Error: Input required and not supplied: secrets
Additional context
N/A
Describe the bug
I want to use vault-action only to authenticate to vault instance with an approle, and generate a
VAULT_TOKENto use with Terraform and vault-provider, and without retrieve secrets. But vault-action require to specify secrets.To Reproduce
Use vault-action without secrets :
Expected behavior
vault-actionshould authenticate and produces a masked environment variableVAULT_TOKEN.Log Output
Additional context
N/A