Download the AWS role template
The CloudFormation template that creates an AWS connection's
read-only role (evohub-catalog-role.yaml): it trusts EvoHub's
principal only with this connection's external id, and allows only
the listing calls the catalog makes. AWS connections only; any other
answers 404.
Requires the identity:cloudaccount:write scope.
Authorization
Parameters
Path parameters
idstring requiredThe cloud account's ID.
Responses
200
The template, as an attachment.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks a scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
Nothing with this ID (or slug) exists in the organization (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
503
Cloud accounts for this provider cannot be connected on this EvoHub (CLOUD_NOT_CONFIGURED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X GET 'https://evohub.io/api/v1/catalog/connections/con_7d9f1b3a5c7e9a2c4e6b8d0f2a4c6e8b/template' \
-H 'Authorization: Bearer <TOKEN>'
