latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Accounts
Set Credentials for AWS
Link a Spot account to an AWS Cloud account.
Please create external id using spot api (see /setup/credentials/aws/externalId)
and use it when creating the AWS role and then call this route with your AWS role's arn to link it to your spot account
post/setup/credentials/aws
Parameters
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref
Request body
Example request
{
"credentials": {
"iamRole": "arn:aws:iam::1234567890:role/Spot_Iam_Role"
}
}Response
Set Cloud Credentials For AWS Response
Example response
{
"request": {
"id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
"url": "/setup/credentials/aws?accountId=act-123456",
"method": "POST",
"timestamp": "2018-11-19T13:49:11.911Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
}
}
}