Manage secure properties
To manage the secure properties, use the designated utility, which you can find on the INT server:
${INSTALL_DIR}/wf_sec_storage/loader.sh <component-name> <action>
Here,
- component name – defines the component to process:
workfusionworkspacewfagent
- action – defines, whether the properties are reviewed or updated:
review– read the content of the secured storageproperties_file– the path to the properties file containing the secure properties to add, update or delete.
Read properties
To read the application's configuration properties, run the utility with the action set to review. Example:
sh loader.sh workspace review
As a result, the utility returns a list of all secured properties with values, which are available for the defined component.
Edit properties
Use the utility to modify the secure properties. For that, in the action parameter, specify the name of the file that contains properties to be modified.
Add a property
To add a new secure property, in the properties file, specify the properties and their values.
Update a property
To edit the secure properties, in the properties file, specify the existing properties with new values. Example:
sh loader.sh workfusion workfusion-secure.properties
File example:
s3.access-key={{ s3_access_key }}
s3.secret-key={{ s3_secret_key }}
s3.context.key.map={{ s3_context_key_map }}
...
automation.password=[set-new-password]
Here, specify new automation.password value, and save the file.
Delete a property
To remove a secure property, in the property file, add the property with an empty value. Example:
mturkds.database.password=
ldap.server.url=
If the properties file is created in the same folder with the utility (for example, the file is named as new_values.properties), the full path is not necessary, so you can call the utility, as shown below:
sh loader.sh workfusion new_values.properties