Is it possible to edit or add a Secret, held on the Business Hub, from within a workflow. Is there an API call that I can use?
I’m working with an external web API that has an authentication process that produces an API key, which only lasts for X amount of time. I want to build a workflow that will retrieve the API key that’s currently Stored as a secret (easy), check with the service to see if it’s expired (easy), if it is then re-authenticate and get a new key (easy), and then update the Secret with the new API key (possible?).
Is that possible? Or, is there a better way to cash an API key? It needs to persist between runs of the workflow, so a workflow variable isn’t going to do it.