Type alias NewMqttCredentials

NewMqttCredentials: {
    broker: string;
    certificate: string;
    private_key: string;
    public_key: string;
    root_ca: string;
    root_scope: string;
}

Type declaration

  • broker: string

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

  • certificate: string

    PEM-encoded certificate for this device

  • 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