How to update an API secure property in Runtime Fabric (RTF) using Runtime Manager
GOAL
To update a secure property in a RTF app
PROCEDURE
Create a new property in Runtime Manager with the following configuration:
1) Add the prefix "secure\:\:" to the KEY
2) Fill the UNECRYPTED value
3) Select the "PROTECTED" option in the VALUE to hide it (instead of encrypting it)
EXAMPLE
- You have a key called "backend.password"
- The backend.password key is configured in a secure properties file within your API
- Inside the secure properties file, you have something like backend.password:![<encrypted>]
- And you use it in your flows as ${secure::backend.password}
- To update it using Runtime Manager, go there and in the "Properties" tab:
> If the secure::backend.password key already exists, use the UI to update it
> If it doesn't exists, create a new property as:
* Key = "secure\:\:backend.password" (without doube-quotes)
* Value = "<unencrypted value>" (without doube-quotes)
* Remember to select "PROTECT" button (mandatory)
NOTES
A) The "secure\:\:" prefix will change to "secure::" after applying changes. You should NOT try to create the secure:: version directly
B) Sometimes runtime manager fails and duplicates the key (Protected and Unprotected versions), feel free to delete the unprotected one.
C) Do not attempt to modify a pre-existent key into secure\:\: key neither to create it and then protect it, you should do it all together (create a secure\:\: and protected key/value)
Thanks for sharing, Germán