Service: Credentials

This page documents an earlier firmware release. Read this page for the latest release
This API is not yet officially released nor maintained.

Service to store the NodeRed credentials.

It is the storage backend of the Node-RED instance on the device and implements its custom storage API: https://nodered.org/docs/api/storage/. Calls through the proxy from any other address are refused with PERMISSION_DENIED. Flows running in that Node-RED instance call from its address and are not refused.

Table 1. Available methods
Method Request Response

Set

CredentialsSetRequest

google.protobuf.Empty

Get

google.protobuf.Empty

CredentialsGetResponse

Set

Set credentials

Request

Credentials set request

Table 2. Available fields in blickfeld.flow.services.CredentialsSetRequest
Field Type Default Unit

credentials

google.protobuf.Struct

-

-

Credentials which should be stored

Generic JSON format which is defined by NodeRed.

Get

Get credentials

Response

Credentails get response

Table 3. Available fields in blickfeld.flow.services.CredentialsGetResponse
Field Type Default Unit

credentials

google.protobuf.Struct

-

-

Current credentials

Generic JSON format which is defined by NodeRed.