Skip to content

djuang1/secure-config-properties-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MuleSoft Secure Configuration Properties API and Tool

Overview

This project wraps the MuleSoft Secure Properties Tool with an API and exposes a web based tool to allow you create secure properties for your Mule project.

You can find the tool here:

https://secure-properties-api.us-e1.cloudhub.io/

and the API here:

https://secure-properties-api.us-e1.cloudhub.io/console

Steps

You can encrypt configuration properties in your Mule applications. To create secure configuration properties, follow the steps below:

  1. Create a secure configuration properties file in your Mule application. (e.g. src/main/resources/config.yaml)
  2. Deploy this project or open this URL - https://secure-properties-api.us-e1.cloudhub.io/ and encrypt your properties.
  3. Define secure properties in the file by enclosing the encrypted values from the previous step between the sequence ![value]. You can see an example below.
    encrypted:
        value1: "![nXCoBCew=]"
    
  4. Configure the file in the project with the Mule Secure Configuration Properties Extension module. The file must point to or include the decryption key.
  5. Reference the secure properties in your XML by prefixing the properties with secure::
    <global-property name="prop" value="my-${secure::encrypted.value1}"/>
    

About

MuleSoft Secure Config Properties API and Tool

Resources

Stars

Watchers

Forks