Authentication

Authentication #

For an API key contact your IoT Ready administrator.

For REST use the supplied API key in http header X-API-Key

curl -H "X-API-Key: <api key>" https://api.nr.iotready.no/api/v1/device/123

For MQTT use X-API-Key as username and api key as password.

mosquitto_sub -v --capath /etc/ssl/certs \
    -L "mqtts://X-API-Key:<api key>@api.nr.iotready.no/v1/upstream/#"

See MQTT chapter for details on MQTT connection.