Skip to content

Commit

Permalink
Document the TLS configuration for secure uploads (#78)
Browse files Browse the repository at this point in the history
[#75] Document the TLS configuration for secure uploads

- caCert, cert and key flags added info

Signed-off-by: Georgi Boyvalenkov <[email protected]>
  • Loading branch information
gboyvalenkov-bosch authored Aug 10, 2022
1 parent e3544b1 commit c2ac2e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/site/content/docs/references/file-upload-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ To control all aspects of the file upload behavior.
| broker | string | tcp://localhost:1883 | Address of the MQTT server/broker that the file upload will connect for the local communication, the format is: `scheme://host:port` |
| username | string | | Username that is a part of the credentials |
| password | string | | Password that is a part of the credentials |
| **Local connectivity - TLS** | | | |
| caCert | string | | PEM encoded CA certificates file |
| cert | string | | PEM encoded certificate file to authenticate to the MQTT server/broker |
| key | string | | PEM encoded unencrypted private key file to authenticate to the MQTT server/broker |
| **Logging** | | | |
| logFile | string | log/file-upload.log | Path to the file where log messages are written |
| logLevel | string | INFO | All log messages at this or higher level will be logged, the log levels in descending order are: ERROR, WARN, INFO, DEBUG and TRACE |
Expand Down Expand Up @@ -70,6 +74,9 @@ The following template illustrates all possible properties with their default va
"broker": "tcp://localhost:1883",
"username": "",
"password": "",
"caCert": "",
"cert": "",
"key": "",
"logFile": "log/file-upload.log",
"logLevel": "INFO",
"logFileCount": 5,
Expand Down

0 comments on commit c2ac2e0

Please sign in to comment.