Create cloud onboarding deployment
- Base URL
-
https://{kibana_url}
- POST /api/fleet/cloud_onboarding_deployments
- POST /s/{space_id}/api/fleet/cloud_onboarding_deployments
Create a new Fleet cloud onboarding deployment.
Required authorization
- Privileges fleet-agent-policies-all or integrations-all
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
-
agentPolicyIdsstring[] · max items: 1000 -
Agent policy IDs for agent_based existing-policy deploys. Provided on create so that a mid-deploy tab-close leaves a record that hydrates back into existing mode.
-
authMethodenum -
Authentication method. Allowed values depend on the delivery mechanism:
- managed_integration: identity_federation | static_keys
- agent_based: static_keys (direct_access_keys) | temporary_keys | shared_credentials | assume_role
-
Values:
identity_federationstatic_keystemporary_keysshared_credentialsassume_role -
connectorIdstring · min length: 1 · max length: 255 -
ID of the fleet-cloud-connector to associate with this deployment. Omit for static-keys deployments.
-
mechanismsenum[] · max items: 10required -
Delivery mechanisms active in this deployment.
-
Values:
managed_integrationecfagent_based
Responses
Successful response
-
itemobjectrequired -
agentPolicyIdsstring[] · max items: 1000 -
Agent policy IDs for agent_based deployments. Single-element for new-policy deploys; multiple for existing-policy deploys targeting several policies.
-
apiKeyIdstring -
Elasticsearch API key ID for push mechanisms (ecf). Set by the backend; used for key rotation/revocation.
-
authMethodenum -
Authentication method. Allowed values depend on the delivery mechanism:
- managed_integration: identity_federation | static_keys
- agent_based: static_keys (direct_access_keys) | temporary_keys | shared_credentials | assume_role
-
Values:
identity_federationstatic_keystemporary_keysshared_credentialsassume_role -
connectorIdstring -
ID of the fleet-cloud-connector this deployment belongs to. Absent for static-keys deployments.
-
ecfStacksobject[] · max items: 10 -
ECF CloudFormation stacks launched as part of this deployment. Written by the wizard after the user clicks Launch.
-
packagePolicyIdsstring[] · max items: 1000 -
Package policy IDs created for this deployment (managed_integration and agent_based).
-
policyIdsByInstancemap string to string -
instanceId → policyId mapping persisted after deploy. Hydrated into the wizard on resume to enable cleanup of stale policies when services are removed.
-
<string>string · max length: 255