- Authenticated with Golioth - see Authentication
- Have a project - see Create a Project
As we saw on the Manage Devices we can create the device, but for it to connect to our platform, we also need to create a credential for it.
Currently we only support PreShared Key based authentication, but we are gonna be adding more in the future.
To provision a device, we can use the command
goliotctl provision. To do a full provision, creating a device and the credential we can use the command:
Credential Identifier also needs to be unique.
If you just want to add credentials to an existing device, you can inform just the hardware ID or device ID. Here are some examples:
You can get the device ID by running the
goliothctl device list command:
Now your device can connect to our platform. You can check for more commands to provision devices here.