Connect an APort fleet console or enroll an endpoint

Fleet onboarding is available in enabled Enterprise deployments. It requires
the organization’s discovery entitlement and regional ingress. Open Organizations, select the intended organization
and open Fleet. The page shows the server-resolved region and environment.
Use your normal APort sign-in. Contact APort support if the page reports that
ingress or regional storage is unavailable.

Connect a console

Use the first-party browser pairing flow with a console that implements the
fleet reader exchange. The browser signs in and records consent. The console
exchanges a one-time proof over outbound HTTPS. The console never receives
the browser session, and pairing needs no inbound listener or callback URL.

  1. Open Connect my console. Check the exact HTTPS API origin, organization

ID, environment, region and signed-in actor against the connection you intend
to create. Give those values to your console.

  1. The console generates an opaque, stable client ID using 16 random bytes

encoded as lowercase hex. For each attempt it generates a fresh proof using
32 cryptographically random bytes encoded as unpadded base64url. It computes
the approval fingerprint as lowercase hex SHA-256 of the compact UTF-8
JSON serialization of this array, in order.

["aport-fleet-reader/query/v1", origin, organization, environment, region, actor, client, proof]

Paste the client ID and fingerprint from the intended console into the
browser. Approve fleet read access. Only approve a fingerprint generated by
the console you intend to authorize. Keep the proof in the console.

  1. Give the returned connection ID to that console within five minutes. It

sends JSON to POST /api/agent-discovery/v1/reader-exchange with
org_id, region, connection, client and proof. Send the request
to the same origin without cookies, redirects or automatic retries. The
response contains bearer and expires_ms (Unix milliseconds).

Store the bearer in the console’s protected credential storage. Use
Authorization: Bearer only on
GET /api/agent-discovery/v1/query/{collection} and its detail routes at
the paired origin. Avoid URLs, command arguments and request logs for all
secret material. Every query checks current regional organization membership,
role and Enterprise entitlement. The bearer expires after eight hours.
Find the versioned query contract and its SHA-256 digest in
x-discovery-fleet-query-contract on GET /api/openapi-json.

To renew, repeat consent with the same stable client ID and a fresh proof.
Successful exchange revokes the previous credentials and other approvals
for that client and actor in the organization. Replace the console’s stored
bearer after the exchange succeeds. If the exchange response is lost, revoke
the listed connection and pair again with a fresh proof. There is no polling
or refresh token. Use the Fleet connection list to revoke an approval or
credential. Administrators can revoke connections across their organization.

An organization can retain at most 200 connection records. Before approving a
new connection, the API reclaims revoked and expired records in that organization
and region. Unexpired credentials and pending approvals keep their records, so
an outstanding exchange can finish. If all slots are still usable, revoke an
unused connection before approving another one. Revocation or expiry can
therefore restore capacity without waiting through an additional retention window.

Enroll an endpoint

  1. Select an expected endpoint or register it with its label, site identifier

and stable inventory identifier. If registration times out, refresh the
endpoint list and select the record with the same inventory identifier.

  1. Generate the P-256 installation key on the destination and keep the private

key on that destination. Verify the destination-generated public key, the
collector release and the handoff profile in the form. For offline handoff,
also supply the recipient’s RSA-OAEP public key of at least 3072 bits.

  1. Transfer the manual grant through the protected installer prompt or an

owner-only file. Transfer an offline grant only as the encrypted envelope
to its named recipient. Keep grants out of packages, images, URLs, command
arguments, environment variables, ordinary downloads and logs.

Manual grants expire after ten minutes. Offline grants expire after 24 hours.
If issuance is uncertain, refresh the enrollment status for the same device.
Check for a pending grant or exchanged source before attempting another
issuance. Revoke an unreceived pending grant before minting its replacement.
If the installer loses an exchange response, retry through the enrollment
protocol with the original attempt ID and exact body signed by the same key.
For a reimage, reconcile the old source via the fleet lifecycle API before
issuing a new grant. A registration establishes expected inventory. An
exchange establishes a reporting identity. The fleet query shows accepted
receipts and coverage separately.