latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Accounts

Get Credentials for Azure

Get the credentials connecting a Spot account to an Azure Cloud account.

get/azure/setup/credentials

Parameters

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

Response

Get Azure Credentials Response

Example response

{
  "request": {
    "id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
    "url": "/azure/setup/credentials?accountId=act-123456",
    "method": "GET",
    "timestamp": "2018-11-19T13:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "kind": "spotinst:azure:credentials",
    "items": [
      {
        "clientId": 111111111,
        "tenantId": "1321e1e3123er23",
        "subscriptionId": "234r3141131",
        "clientSecret": "abc*************************************",
        "expirationDate": "2023-10-31T00:00:00Z"
      }
    ],
    "count": 1
  }
}