broker.mqtt
Mqtt broker
type |
object |
||
properties |
|||
|
The credential to connect to the broker. Default value is [{“type”:”NONE”}] |
||
default |
type |
NONE |
|
oneOf |
|||
|
The ip or hostname to use to connect to the broker. |
||
type |
string |
||
|
Allow insecure TLS connection to broker. This will disable hostname validation upon receiving server certificate. Broker certificate still need to be provided as external certificate. Default value is [false] |
||
type |
boolean |
||
default |
False |
||
|
Name of the playbook that generated this file. If present, the file is managed by the Composer and may be overwritten on regeneration. Used for selective clean. Do not edit or set manually. |
||
type |
string |
||
|
The id of the module. |
||
type |
string |
||
|
The port to use to connect to the broker. Default value is [1883] |
||
type |
integer |
||
maximum |
65535 |
||
minimum |
1 |
||
default |
1883 |
||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
Use TLS as transport layer to connect to the broker. Default value is [false] |
||
type |
boolean |
||
default |
False |
||
|
The username to use with the broker |
||
type |
string |
||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
The mqtt version to use. Default value is [“V3”] |
||
type |
string |
||
enum |
V3, V5 |
||
default |
V3 |
||
additionalProperties |
False |
||
PASSWORD
type |
object |
|
properties |
||
|
type |
string |
enum |
PASSWORD |
|
default |
PASSWORD |
|
|
The password to the broker. |
|
oneOf |
||
additionalProperties |
False |
|
PLAINTEXT
type |
object |
|
properties |
||
|
type |
string |
enum |
PLAINTEXT |
|
default |
PLAINTEXT |
|
|
type |
string |
additionalProperties |
False |
|
SECRET
type |
object |
|
properties |
||
|
type |
string |
enum |
SECRET |
|
default |
SECRET |
|
|
type |
string |
additionalProperties |
False |
|
CERT
type |
object |
||
properties |
|||
|
type |
string |
|
enum |
CERT |
||
default |
CERT |
||
|
The public certificate for the authentication from the OSP client. Default value is [{“caPath”:”ca.crt”,”privateKeyPath”:”module.key”,”providerType”:”SECRETS”,”publicKeyPath”:”module.crt”}] |
||
default |
caPath |
ca.crt |
|
privateKeyPath |
module.key |
||
providerType |
SECRETS |
||
publicKeyPath |
module.crt |
||
|
The password to the broker. |
||
oneOf |
|||
additionalProperties |
False |
||
ClientCertificate
type |
object |
|
properties |
||
|
The CA (public key) used for the generation of the client certificate |
|
type |
string |
|
|
The private key used for authentication by the OSP client is located at a path relative to either the secret directory or the base configuration file (which is /, not /root/). |
|
type |
string |
|
|
The following value are * SECRET : provided by the docker orchestrator (must be in /run/secrets folder) * CONFIG : the certificate is provided by the configuration
|
|
type |
string |
|
enum |
SECRETS, CONFIG |
|
|
The public key used for authentication by the OSP client is located at a path relative to either the secret directory or the base configuration file (which is /, not /root/). |
|
type |
string |
|
additionalProperties |
False |
|
NONE
type |
object |
|
properties |
||
|
type |
string |
enum |
NONE |
|
default |
NONE |
|
additionalProperties |
False |
|