Type alias NewDeviceSchema

NewDeviceSchema: {
    api_key: string;
    broker: string;
    certificate: string;
    id: string;
    owner_id?: string;
    private_key: string;
    public_key: string;
    root_ca: string;
    root_scope: string;
}

Type declaration

  • api_key: string

    API key for this device - ONLY SHOWN ONCE, NOT STORED

  • broker: string

    Domain of the MQTT broker, does not include protocol or port

  • certificate: string

    PEM-encoded certificate for this device

  • id: string

    ID of the newly created device

  • Optional owner_id?: string

    ID of the device owner

  • private_key: string

    Private key for this device

  • public_key: string

    Public key for this device

  • root_ca: string

    URL for the root CA certificate, which is in PEM format

  • root_scope: string

    Root MQTT scope for topics this device can utilize