Files
spring-vault/spring-vault-core
Mark Paluch f8409e2f80 Support property prefixes with VaultPropertySource.
We now support optional prefixing of property names. Property names coming from Vault are exposed with a prefixed name through VaultPropertySource.

@VaultPropertySource(value = "mysql/creds/readonly", propertyNamePrefix = "database.")
static class Configuration{}

will expose all keys under "mysql/creds/readonly" prefixed with "database." that lead properties known as "database.username" and "database.password".

Closes gh-48.
2017-02-02 17:16:58 +01:00
..