Author: Anil Bawne

  • Application properties are variables that act as placeholders in the Mule application
  • It is set in Mule runtime at runtime. 
  • When you deploy an application, or update an existing application in the Runtime Manager console, the Mule runtime engine supplies the values for the property variables using information you configure in the Runtime Manager console’s Properties tab.

 Stepstocreatesafelyhiddenapplicationproperties

  1.  Inside the Mule application’s mule-artifact.json file, list the property names you wish to safely hide under the secureProperties key as a comma-separated array. 
  2. Deploy application to cloudHub.
  3. Enter your application properties as you normally would.
  4. Click Apply Changes.
mule-artifact

Stepstochangecredentialsatruntime

  1.  Go to runtime manager
  2. Go to Application
  3. Select your application
  4. Go to setting -> properties
  5. Change required credentials.
  6. Click Apply Changes

BeforechangingaccessKeyand

ChangeaccessKey,secretKey

After changing accessKey,secretKey

Note

  • If you look at the Runtime Manager you will notice that the value of properties is hidden/masked and there is no way one can retrieve this value.
  •  CloudHub maintains the security flag for those properties.
  • When we update the credentials, it will restart the application automatically.  
  • Moving the application from one environment to another, safely hidden application properties will not get copied to the new environment.

 Whenever we re-deploy same/updated application previously set properties in runtime will be available and used by application

Leave a Comment