Skip to content

Support VAULT_ADDR in EnvironmentVaultConfiguration#997

Draft
DragonFSKY wants to merge 1 commit into
spring-projects:mainfrom
DragonFSKY:gh-592-vault-addr-fallback
Draft

Support VAULT_ADDR in EnvironmentVaultConfiguration#997
DragonFSKY wants to merge 1 commit into
spring-projects:mainfrom
DragonFSKY:gh-592-vault-addr-fallback

Conversation

@DragonFSKY
Copy link
Copy Markdown

@DragonFSKY DragonFSKY commented May 12, 2026

Closes #592

This PR adds VAULT_ADDR as a fallback for vault.uri in EnvironmentVaultConfiguration when the primary Spring Vault property is not set.

The change keeps vault.uri as the preferred configuration property and avoids introducing a vault.addr Spring property or generic property-name translation. It also updates the reference documentation and adds unit tests for the fallback behavior and vault.uri precedence.

Verification

  • ./mvnw -s settings.xml -pl spring-vault-core -Dtest=EnvironmentVaultConfigurationUnitTests test

Closes spring-projectsgh-592

Signed-off-by: dragonfsky <dragonfsky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make properties vault.addr and vault.uri equivalent

1 participant