Skip to content

Support VAULT_ADDR in EnvironmentVaultConfiguration#997

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

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

Conversation

@DragonFSKY

@DragonFSKY DragonFSKY commented May 12, 2026

Copy link
Copy Markdown

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: Dongliang Xie <dragonfsky@gmail.com>
@DragonFSKY DragonFSKY force-pushed the gh-592-vault-addr-fallback branch from 59c2b74 to aaa22fc Compare June 30, 2026 03:18
@DragonFSKY DragonFSKY marked this pull request as ready for review June 30, 2026 03:19
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