This article provides the steps to extract the workflow spec file, make the required changes to it, and re-inject it to the existing workflow so it can be retried with an updated value.
echo "vcf.vault.http-access=true" >> /etc/vmware/vcf/domainmanager/application.properties
systemctl restart domainmanager
curl -k -s http://localhost/domainmanager/internal/vault/<workflow_id_from_url> -X GET | json_pp > /tmp/workflow.json
Download the workflow.json file in /tmp/workflow.json with WinScp and edit the content with Notepad ++ , then upload the workflow.json to the same place that it was pulled from /tmp/workflow.json.
Note: This is due to the special characters that are used in the passwords having a special significance and it will cause issues during the search process when editing the content in VI.
8. Use the following PUT API call to update the spec file for the workflow
curl -k -s http://localhost/domainmanager/internal/vault/<workflow_id_from_url> -X PUT -H "Content-type: text/plain" -d @/tmp/workflow.json
9. From the SDDC Manager UI, Restart the Task
The task will be attempted again using the new workflow spec file provided
Depending on the workflow that is being attempted, modifying the workflow manually can have a significant impact to the environment. Please ensure that you have appropriate backups and snapshots of the components involved in the workflow.
Once the workflow.json file has been created, You can use WinSCP to edit the workflow.json file to make finding and replacing the incorrect configuration info easier (ie wrong license key). But for that to work, you will need to change to change the permission of the workflow.json file before you are able to edit the file within WinSCP. By default the workflow.json file is created with permission -rw--------- root root. Run the following "chmod 777 workflow.json" to change the permission, and then you should be able to edit the file thru WinSCP. Once done, proceed to step 6.
If you need to obtain the account credentials for a service account, follow the steps in this article: Retrieve the service accounts credentials from SDDC Manager