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.
-
instancesobject[] · max items: 1000 -
Service instances, including duplicates, being deployed. Used to restore the service list when the onboarding is resumed.
-
integrationNamestring · max length: 160 -
Integration name as entered in the Service settings step, before any per-package suffix is applied.
-
mechanismsenum[] · max items: 10required -
Delivery mechanisms active in this deployment.
-
Values:
managed_integrationecfagent_based -
namespacestring · max length: 100 -
Global data stream namespace from the Service settings step. When omitted, an agent-based deployment inherits the agent policy namespace, other deployment methods use the default namespace.
-
packageNamesstring[] · max items: 100 -
Names of the integration packages this deployment covers (e.g. aws, aws_bedrock). Used to list the deployments of a package.
-
serviceNamesmap string to string -
Display name of each service as shown in the onboarding flow, by service ID.
-
<string>string · max length: 256
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.
-
serviceConfigsobject[] · max items: 1000 -
Stack-relevant settings (bucket and log group ARNs) per service when the stack was last launched or updated.
-
serviceIdsstring[] · max items: 1000 -
Service IDs active when the stack was last launched or updated.
-
stackArnstring · min length: 1 · max length: 2048 -
CloudFormation stack ARN pasted by the user post-launch.
-
instancesobject[] · max items: 1000 -
Service instances, including duplicates, from the last deployment. Used to restore the service list when an onboarding is resumed.
-
integrationNamestring -
Integration name as entered in the Service settings step, before any per-package suffix is applied.
-
namespacestring -
Global data stream namespace from the Service settings step. When omitted, an agent-based deployment inherits the agent policy namespace, other deployment methods use the default namespace.
-
packageNamesstring[] · max items: 100 -
Names of the integration packages this deployment covers (e.g. aws, aws_bedrock). Used to list the deployments of a package.
-
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 -
serviceNamesmap string to string -
Display name of each service as shown in the onboarding flow, by service ID.
-
<string>string · max length: 256