v1

latestOpenAPI 3.1.02026-07-261690320.7 KB
post/clouds/azure

Request body

namestring required

A name for this cloud environment.

application_idstring required

Application id of the registered application for aikido scanning

directory_idstring required

Directory id of the of the registered application for aikido scanning

key_valuestring required

Generated Secret for the registered application for aikido scanning

subscription_idstring required

Relevant Subscription id

environment'production' | 'staging' | 'development' | 'mixed' required

Indicates for what environment this cloud is responsible.

Example request

{
  "name": "Azure Cloud environment",
  "application_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "directory_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "subscription_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
  "key_value": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "environment": "production"
}

Response

The cloud environment has been successfully connected

idinteger

The ID of the newly connected cloud environment in Aikido.

Example response

{
  "id": 1
}