Skip to content

homebrewmike/mule-vault-properties-provider-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vault properties provider Extension

Description

A Mule extension for Mule 4 that can be used to provide properties to your mule application whilst getting the properties from HashiCorp Vault instead of a file. This library uses the BetterCloud Vault Java Driver.

Usage

Install the project to your local repository with mvn install and add the dependency to your pom.xml file:

<dependency>
  <groupId>be.dotsandarrows</groupId>
  <artifactId>mule-vault-properties-provider-module</artifactId>
  <version>1.0.1-SNAPSHOT</version>
  <classifier>mule-plugin</classifier>
</dependency>
<vault-properties-provider:config
  name="Vault_Properties_Provider_Config"
  doc:name="Vault Properties Provider Config"
  doc:id="9bff00dd-f858-4ebb-bc02-1d6f0c66c410"
  roleId="bddc3adf-67f7-81db-b088-71628e04ae84"
  secretId="f6cfd155-f9d4-e839-e8cf-7341a2704f61"
  path="secret/${app.name}"
  address="http://localhost:8200" />

Then get the property value with the vault:: prefix: vault::myKey

Remarks

When a property changes, the changes are not detected.

About

A vault property resolver for Mule 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%