Skip to main content

Generate Azure token

Contributors

POST /azure/generate-token

Generates an Azure token by using service principal credentials..

Token usage: Both a Cloud Manager user token and service token. The service token needs to include the following scopes: credentials:internal. Pass the user token or service token in the Authorization request header.

Parameters

Name Type In Required Description

x-simulator

string

header

False

Request Body

Name Type Required Description

tenantId

string

True

clientId

string

True

clientSecret

string

True

Response

Status: 200, Successful fetched generated token
Name Type Required Description

token

string

True