Accounts
Get Credentials for Azure
Changed onGet Azure credential metadata. Client secrets are masked and PEM certificate contents are never returned.
get/azure/setup/credentials
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/azure/setup/credentials
- AuthHTTP bearer
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
}
}Changes
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- info