Mulesoft 4 Securing YAML properties files

http:
port: "8081"
environment: "[DEV]"
sfdc:
username: "yucelmoran@mulesoftdemos.com "
password: ""
token: ""
java -cp secure-properties-tool.jar com.mulesoft.tools.SecurePropertiesTool string encrypt <Algorithm> <method> <secret> "<string_value>"
java -cp secure-properties-tool.jar com.mulesoft.tools.SecurePropertiesTool string encrypt Blowfish CBC mySuperSecureKey "Mulesoft2020"
$output% dxx+GJyGL9z82zPsGLE6kg==
http:
port: "8081"
environment: "[DEV]"
sfdc:
username: "yucelmoran@mulesoftdemos.com "
password: "![dxx+GJyGL9z82zPsGLE6kg==]"
token: "![SS9n5xZb3yjf1l4xLr1Mr1R7cuLXP16tHNWZS+NbolM=]"
-Denv=dev -Dsecret=mySuperSecureKey

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Edgar Morán

Edgar Morán

Mulesoft Ambassador |Engineer @Twitter | Sr. Force.com developer | innovating in technology, love coding, and photography !