Vault
Integrate with HashiCorp Vault to securely resolve environment variables from your Vault servers. Vault works through environments — variables marked as Vault-sourced in Tigrister Pro are automatically fetched at runtime.
How It Works
Vault + Environment
Vault integration is driven by environments. When you create an environment in Tigrister Pro, you can set any variable's source to Vault. At runtime, tgrs resolves those variables by fetching secrets from your Vault server.
Single Vault Connection
Token Authentication
Pass Vault credentials with VAULT_AUTH at the end of the command. Format: token@url.
# Flow with Vault token auth
tgrs run flow-folder -e dev VAULT_AUTH="hvs.token@https://vault.example.com"
# Load test with Vault token auth
tgrs run spec-folder -e dev VAULT_AUTH="hvs.token@https://vault.example.com"
Userpass Authentication
Use username:password@url format for userpass authentication.
# Flow with userpass auth
tgrs run flow-folder -e dev VAULT_AUTH="admin:secret@https://vault.example.com"
# Load test with userpass auth
tgrs run spec-folder -e dev VAULT_AUTH="admin:secret@https://vault.example.com"
Multiple Vault Connections
Named Connections
Connect to multiple Vault servers using VAULT_AUTH_<NAME>. The name matches the connection name configured in your environment. Each connection can use its own authentication method.
# Two Vault servers, both using token auth
tgrs run flow-folder -e dev \
VAULT_AUTH_FIRSTVAULT="hvs.token@https://vault-1.example.com" \
VAULT_AUTH_SECONDVAULT="hvs.token@https://vault-2.example.com"
# Mixed auth methods — token + userpass
tgrs run spec-folder -e dev \
VAULT_AUTH_FIRSTVAULT="admin:secret@https://vault-1.example.com" \
VAULT_AUTH_SECONDVAULT="hvs.token@https://vault-2.example.com"
VAULT_AUTH_PROD and VAULT_AUTH_prod resolve to the same connection.Supported Features
Vault Capabilities
Quick Reference
Vault Auth Format
| Variable | Format | Description |
|---|---|---|
| VAULT_AUTH | credentials@url | Default Vault connection |
| VAULT_AUTH_<NAME> | credentials@url | Named Vault connection |
| token@url | Token authentication | |
| username:password@url | Userpass authentication | |