The manifest.json contains the AgentID, OperationID, listener address, transport, and generate timestamp. It does not contain private keys or the shared key.
A generated package is a credential-bearing artifact.
Copying the binary to another machine transfers the ability to present the same credentials. Key possession does not prove physical device identity. Protect and revoke agent packages accordingly.
Enrollment policy
Mode
Activation
Default
Agent is auto-activated; connects immediately
--no-activate
Enrollment record created in pending state; requires agents activate <id>
Each generated agent is cryptographically bound to a specific operation and target scope. The server enforces this binding at checkin time.
Binary compilation
generate invokes go build on the stock agent binary source with the appropriate ldflags. The agent binary returned is a configured, statically-linked (or CGO_ENABLED=0) binary for the target platform. The compilation happens on the operator machine, not the server.