Spaces method and path for this operation:
post /s/{space_id}/api/fleet/cloud_connectors
Refer to Spaces for more information.
[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.
Body
-
The account type: single-account (single account/subscription) or organization-account (organization-wide).
Values are
single-accountororganization-account. -
The cloud provider type: aws, azure, or gcp.
Values are
aws,azure, orgcp. -
The name of the cloud connector.
Minimum length is
1, maximum length is255.
POST
/api/fleet/cloud_connectors
curl \
--request POST 'https://<KIBANA_URL>/api/fleet/cloud_connectors' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"accountType":"single-account","cloudProvider":"aws","name":"string","vars":{}}'