Skip to content

lutece-platform/lutece-tech-library-configsource-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Alerte Line of code Coverage

Library ConfigSource Vault

Introduction

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.

Configuration

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages