Deployment in BW6 using external profile


I am trying to re-configure the deployed BW 6.7.0 application using BW Agent REST API, steps I followed

1. Deployed application into Domain using default profile

2. Export the deployed application configuration using REST API GET curl -X GET --header 'Accept: application/json' 'http://localhost:8079/bw/v1/domains/TEST/appspaces/TestAppSpace/applicat...'

3. Copied the exported configuration XML file to a new profile say SIT and updated few connection details

4. Tried deploying using REST API PUT Command

curl -X PUT --form file="Sample.application.New.substvar" --header 'Accept: application/json' 'http://localhost:8079/bw/v1/domains/TEST/appspaces/TestAppSpace/applicat...'

But its failing with below error


   "message" : "TIBCO-BW-ADMIN-500000: WARNING: exception with message ***Cannot decrypt an Encrypted without Encryption Configurations*** has not been localized"


One observation is the all password fields are coming as * in the external profile exported