You can encrypt specific keys in Vault using the $SECRET syntax. However, you should use automatic property encryption wherever possible.
Create a path and key name in Vault for the item. Use a path and key name that clearly relates to the target item.
Click the Advanced View toggle to see the JSON configuration, which may be easier to edit.
Remove the existing value and replace it with the Vault reference:
For example: "$SECRET_default_password $KEY_key" evaluates to "password".
Note: Include a space before $KEY_.
Create a path and key name in Vault for the item. Use a path and key name that clearly relates to the target item.
Go to Admin Essentials, click Integrations, and select an integration.
Create a path and key name in Vault for the item. Use a path and key name that clearly relates to the target item.
Go to Admin Essentials, click Profiles, and select the currently running profile.
Create a path and key name in Vault for the item. Use a path and key name that clearly relates to the target item.
Open the properties.json file and select a property to encrypt, such as "mongoProps.credentials.passwd".
You cannot encrypt any vaultProps values within properties.json.