WendyOS Docs
AdvancedClientsWendy cliCommandsDevice

Provision

Provisions a device using a local or self-hosted pki-core instance instead of Wendy Cloud. Creates an enrollment token via the pki-core CertificateService, then calls StartProvisio

Provisions a device using a local or self-hosted pki-core instance instead of Wendy Cloud. Creates an enrollment token via the pki-core CertificateService, then calls StartProvisioning on the connected agent, which fetches its certificate directly from pki-core.

wendy device provision --cloud 192.168.0.102:50051 --api-key <key> --name my-device

After provisioning, the device starts an mTLS gRPC server on port 50052 and updates its Avahi advertisement to reflect the new port and tls=true. Authenticate the CLI with wendy auth login-local using the same pki-core to obtain a matching client certificate for mTLS connections.

Flags:

FlagRequiredDescription
--cloudyespki-core gRPC address (host:port)
--api-keyyesBearer API key for CreateAssetEnrollmentToken
--namenoHuman-readable device name
--orgnoOrganization ID (default: 1)