This library retrieves properties from Vault so that they are loaded at Lutece startup. Afterwards, they are accessible via this Lutèce configuration service.The library configuration can be provided via environment variables, system variables, or a properties file.
The configuration properties are as follows:
################################################################
## settings
# Vault address
configsource.vault.address=http://localhost:8280
# Vault token to access Vault. If null, it will use roleId and secretId
configsource.vault.token=my_token
# Vault role id
configsource.vault.roleId=my_role_id
# Vault secret id
configsource.vault.secretId=my_secret_id
# Path to properties in Vault
configsource.vault.propertiesPath=application_code/environment_code
if you use environment variables, replace dots by underscores and use uppercase letters, for example :
configsource.vault.address --> CONFIGSOURCE_VAULT_ADDRESS
configsource.vault.token --> CONFIGSOURCE_VAULT_TOKEN
configsource.vault.roleId --> CONFIGSOURCE_VAULT_ROLEID
configsource.vault.secretId --> CONFIGSOURCE_VAULT_SECRETID
configsource.vault.propertiesPath --> CONFIGSOURCE_VAULT_PROPERTIESPATH
Maven documentation and reports
generated by xdoc2md - do not edit directly.