Skip to content

Release v3.165.8

Choose a tag to compare

@github-actions github-actions released this 30 Nov 20:43
62d157b

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 in VAULT_ADDR is trusted instead.
  • For local development only, hashivault+http:// with CRATIS_VAULT_ALLOW_HTTP=1 allows 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.Environments Vault 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.