Create cloud connector

Base URL
https://{kibana_url}
  • POST /api/fleet/cloud_connectors
  • POST /s/{space_id}/api/fleet/cloud_connectors
Auth

Create a new Fleet cloud connector.

Required privileges

fleet-agent-policies-all or integrations-all

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

accountType enum

The account type: single-account (single account/subscription) or organization-account (organization-wide).

Values: single-account organization-account
cloudProvider enum required

The cloud provider type: aws, azure, or gcp.

Values: aws azure gcp
name string · min length: 1 · max length: 255 required

The name of the cloud connector.

vars map string to anyOf required
property name* additional property union anyOf
Any of:

Responses

Successful response

application/json
item object required
accountType string
cloudProvider string required
created_at string required
id string required
name string required
namespace string
packagePolicyCount number required
updated_at string required
vars map string to object required
verification_failed_at string
verification_started_at string
verification_status string
Base URL
https://{kibana_url}