hashicorp / vault-action

A GitHub Action that simplifies using HashiCorp Vault™ secrets as build variables.
MIT License
436 stars 139 forks source link

[FEAT] Support for "bind_secret_id" in Approle auth method #520

Closed yogesh-mishra-pagero closed 7 months ago

yogesh-mishra-pagero commented 8 months ago

While trying to fetch secrets from Vault using approle auth method. It is currently not possible to use only the RoleID to fetch the secrets. Which should be allowed.

Describe the solution you'd like

Enable support for "bind_secret_id" in approle authentication method of the vault github action. As described in the link --> https://developer.hashicorp.com/vault/docs/auth/approle#secretid

Describe alternatives you've considered

Using the vault cli to do the same activity. Which makes for a brittle way of doing that.

Additional context

https://github.com/hashicorp/vault-action?tab=readme-ov-file#approle