Service: Credentials

This API is officially released and 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.

表 1. Available methods
Method Request Response

Set

CredentialsSetRequest

google.protobuf.Empty

Get

google.protobuf.Empty

CredentialsGetResponse

Set

Set credentials

Request

Credentials set request

表 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

表 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.