DZone
Integration Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Integration Zone > Anypoint Studio: Install and Use Mule Secured Property Editor

Anypoint Studio: Install and Use Mule Secured Property Editor

Securing critical properties like passwords, tokens, and keys is important in developing a MuleSoft API. Learn how Mule Studio Property Editor can help.

Sivakumar Murugan user avatar by
Sivakumar Murugan
·
Jan. 04, 22 · Integration Zone · Tutorial
Like (2)
Save
Tweet
5.76K Views

Join the DZone community and get the full member experience.

Join For Free

Securing critical properties like passwords, tokens, and keys is an important aspect of developing a MuleSoft API. Fortunately, MuleSoft supports encryption/decryption of such properties, which can be handled pretty easily by performing the steps mentioned below.

Let's say you have a mule project named Hello-Mule with critical properties like clientSecret and passwords, and these properties are saved in a property file named dev.properties:

Property file named dev.properties

Now in order to encrypt this easily, follow the steps below:

  1. In Anypoint Studio, go to Help > Install New Software:
  2. Anypoint Studio Install New SoftwareEnter the URL http://security-update-site-1.4.s3.amazonaws.com/ in Work With input box.
  3. Work with input boxExpand option Premium and check Mule studio properties file editor.
  4. Mule studio properties file editorClick on Next.
  5. Again, click on Next.
  6. Check I accept the terms of the license agreement and click Finish.
  7.  License agreementA security warning pop-up will appear; click on Install Anyway. 
  8. Security warning pop-upA pop-up to trust the Security Certificate might appear. Click on Ok and the installation will start.
  9. Once installation is complete, you need the restart the Anypoint Studio for the changes to appear.

Restart the Anypoint Studio

That's it! We are finished with the installation of Mule Studio Property Editor to encrypt and decrypt properties.

Once the Anypoint Studio is restarted, go to Project Explorer and Right Click on file dev.properties, then click on the Open With option.

Project Explorer Open With

The file will be opened through Mule Properties Editor. Now you can select each property to encrypt.

Select each property to encrypt

Click on Encrypt button. You will be asked to select an Algorithm and provide an Encryption Key. Once the details are provided, click on OK.

You can see the property has been encrypted. Now click on OK and Save the file to record the changes.

Save the file to record the changes

Great! We are now done with the encryption of a property through Mule Property Editor. In order to decrypt the encrypted property, you can perform the same steps again. 

Important points to consider:

  1. Make sure you have noted down the Encryption Key somewhere. 
  2. All the properties in a file must be encrypted with the same Algorithm and Key combination to avoid issues while configuring the Mule Secure Configuration for secured property files. You can read more about this here.

That's it for this time. I hope this will be helpful. See you all with another interesting topic next time!

Property (programming)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Upload Files to AWS S3 in JMeter Using Groovy
  • Flutter vs React Native. How to Cover All Mobile Platforms in 2022 With No Hassle
  • How to Perform Visual Regression Testing Using Cypress
  • How to Handle Early Startup Technical Debt (Or Just Avoid it Entirely)

Comments

Integration Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo