DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to Configure and Use Secure Properties In Mule 4

4 years ago dzone.com
How to Configure and Use Secure Properties In Mule 4

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Properties in Mule 4 can be encrypted to keep our sensitive data like ClientID and Client Password. Secure property module provided by mulesoftWe can be used to encrypt a .yaml or .properties file.

For individual property, we can define secure properties in the file by enclosing the encrypted values between the sequence![value].

The first task in securing configuration properties is to create a YAML configuration file (.yaml) or a Spring-formatted Properties file (.properties), where you define the properties in src/main/resources in your Mule project.

Use the following syntax to encrypt or decrypt all the content of a properties file: Example of encryption: Add the secure property module in your project and configure the same.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com