Skip to content

enclave register

Register an agent with the EMC. If authenticating as a user agent, redirection to the EMC is required to complete the registration process.

Flags

FlagDescription
--emc-urlThe URL of the EMC to register with (default: https://enclave.sidechannel.com).
--registration-codeThe registration code used to register the agent.
--tokenThe agent token used to authenticate the agent with the EMC.

Usage

> enclave auth register
? What type of agent are you registering? Node, beacon or gateway
? How would you like to authenticate? Registration code
? Enter your registration code: 123456
Authenticated as demo-node.
enclave auth register
? What type of agent are you registering? User
Use a QR code:

[QR code image here]

Or follow the link to authenticate:
https://enclave.sidechannel.com/agents/auth/123456
Authenticated as demo@sidechannel.com.