v1

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

Request body

namestring required

A name for this cloud environment.

project_idstring required

ID of the GCP Project that should be used for aikido scanning

access_keystring required

Stringified JSON value of the service account access key or Workload Identity Federation config file

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

Indicates for what environment this cloud is responsible.

Example request

{
  "name": "GCP Cloud environment",
  "project_id": "project-one",
  "access_key": "...",
  "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
}