Accounts

Create AWS account external id

Create aws account external id
You should use the external id when creating your AWS role for your spot account
and after you create the role you need to call set-aws-credentials Set Credentials for AWS
to link your AWS account with your spot account

post/setup/credentials/aws/externalId

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/setup/credentials/aws/externalId
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)

Response

Create AWS Acccount External Id Response

Example response

{
  "request": {
    "id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
    "url": "/setup/credentials/aws/externalId?accountId=act-123456",
    "method": "POST",
    "timestamp": "2018-11-19T13:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:setup:aws:externalId",
    "items": [
      {
        "externalId": "SpotinstAwsAccountExternalId",
        "maxValidUntil": "2021-03-18T16:11:04.402Z"
      }
    ],
    "count": 1
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.