Set Credentials for Azure
Changed onLink a Spot account to an Azure Cloud account. Provide either a client secret or a PEM-encoded certificate and matching private key. Set the expiration date when Azure secret expiration enforcement is enabled. Spot can remind you to update credentials before they expire. If your credentials expire, your Azure subscription will disconnect from Spot and prevent Spot from managing your resources.
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/azure/setup/credentials
- AuthHTTP bearer
Parameters
Request body
Example request
{
"clientSecret": "32431r2431434132",
"tenantId": "1321e1e3123er23",
"subscriptionId": "234r3141131",
"expirationDate": "2025-12-31T23:59:00.000Z"
}Response
Set Cloud Credentials For Azure Response
Example response
{
"request": {
"id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
"url": "/azure/setup/credentials?accountId=act-123456",
"method": "POST",
"timestamp": "2018-11-19T13:49:11.911Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
}
}
}Changes
- warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - info
added
subschema #1: Client secret authenticationsubschema #2: PEM certificate authenticationto therequest propertyoneOflist
- warning
- breaking
the request property
/became required - breaking
the request property
/became required - warning
removed the request property
/
- breaking