Project Vault Action
Version updated for https://github.com/nestormata/vault-action to version v1.0.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action retrieves secrets from Project Vault and exports them as masked environment variables in a workflow. It automates the retrieval of secrets scoped to specific projects using machine-user API keys, ensuring that each secrets input refers to the same project, and provides options for handling errors gracefully. The action does not implement its own HTTP client or token exchange logic.
What’s Changed
Retrieve secrets from Project Vault and export them as masked environment variables in your GitHub Actions workflow — no custom HTTP calls, no plaintext secrets in logs.
Usage
- uses: nestormata/vault-action@v1
with:
vault-url: https://vault.example.com
api-key: ${{ secrets.VAULT_API_KEY }}
secrets: |
<PROJECT_ID>/<CREDENTIAL_NAME> as <ENV_VAR_NAME>
See the README for full setup (machine-user + API key creation), multi-secret syntax, continue-on-error semantics, and SHA-pinning guidance.
Highlights
- Machine-user API key auth, scoped to one project per step
- Automatic masking of every retrieved value
- 10-second network timeout per credential, so an unreachable vault fails fast instead of stalling your job
continue-on-errorinput to soften only “vault unreachable” failures — application-level errors (bad key, missing credential, wrong scope) always fail the step- Runs on Node 24