v1

latestOpenAPI 3.0.3Lucid2026-07-14155181312.3 KB
Cloud

Create Azure Credential

Create a new credential for Azure.

post/v1/credentials/azure

Request body

namestring required

The name to give the created credential

clientIdstring uuid required

The ID of the application from which to import resource metadata for your subscriptions

tenantIdstring uuid required

The ID of the directory to be used during authentication

clientSecretstring required

The secret to be used for authentication

linkType'global' | 'government'

The type of Azure environment the credential is for

Example request

{
  "name": "Example Azure Credential",
  "clientId": "76cd2065-b065-43fa-ad55-316927945439",
  "tenantId": "de991a0e-5765-429a-bc8e-1a053bb61911",
  "clientSecret": "example-azure-secret",
  "linkType": "global"
}

Response

Created. Returns the newly created Azure credential.

credentialIdstring required

Azure credential ID

type'azure' required

Example response

{
  "credentialId": "azure_34567",
  "params": {
    "name": "Example Azure Credential",
    "clientId": "76cd2065-b065-43fa-ad55-316927945439",
    "tenantId": "de991a0e-5765-429a-bc8e-1a053bb61911",
    "linkType": "global"
  }
}