Repository navigation
Release v3.165.8
Added
- A user-level Vault trust file,
~/.cratis/vault-trust.json, listing the Vault origins (and optional authentication mount) the CLI may send Vault credentials to. For a single Vault server, the origin inVAULT_ADDRis trusted instead. - For local development only,
hashivault+http://withCRATIS_VAULT_ALLOW_HTTP=1allows plain HTTP to an explicitly trusted loopback IP address.
Changed
- Vault secret references must name a KV mount, and secret paths are confined to that mount.
- Vault connections no longer follow redirects and check certificate revocation.
- The project's secrets provider setting no longer grants trust to a Vault origin on its own.
Security
- Vault tokens and login credentials are only sent to a Vault origin trusted outside the project, over HTTPS, and only to paths inside the configured mount.
Deprecated
- The
Cratis.EnvironmentsVault overloads that accept a custom HTTP client or handler. They still compile but the supplied transport is no longer used.
Migration
Set VAULT_ADDR to your Vault origin, or add each Vault origin you use to ~/.cratis/vault-trust.json. When moving secrets between two Vault servers, trust both origins first.