When using a short term Secret key rotation in AWS cloud services, you are receiving an error:
Operation on cloud account of type 'aws' failed: Unable to execute HTTP request: certificate_unknown(46)
VCF Automation 8.18.x
AWS Web services as a cloud account.
The secret key rotation has no certificate passed in request.
This is a known issue being resolved in a future release.
a temporary workaround is to use a rest call to update the values.
The URL of the cloud account will have a %2fXXXXXXXXXXXXXX. This will be the endpoint UUID in the rest call.
curl --request PUT \ --url https://AriaAutoFQDN/provisioning/mgmt/endpoints/3edbc167-643f-4de0-a5ab-ac338154d343 \ --header 'authorization: Bearer token' \ --header 'content-type: application/json' \ --data '{ "endpointType": "aws", "documentSelfLink": "/resources/endpoints/Endpoint-UUID, "endpointProperties": { "privateKeyId": "AWS generated key", "privateKey": "AWS Private key", "regionId": "selected AWS Region" } }'
See VMware Aria Automation Orchestrator REST API Guide for choices and guide to authenticate for rest calls.