New: the AI firewall watches every module and explains each incident in plain words. See how it works

Connections and secrets

Set up MQTT broker and HTTP endpoint connections for flows – fields, authentication, TLS, tests, secrets and webhook secrets.

Blocks that talk to outside systems never hold addresses or passwords themselves. They name a connection: an MQTT broker or an HTTP endpoint you set up once and reuse. Secrets in connections are stored encrypted, are never shown again, and never reach a message, a log, a run record or an export.

Manage connections

  1. Open Automation, then the header menu, and select Connections.
  2. Select New connection, pick the Type and select Next.
  3. Fill in the fields, then Save.
  4. Select Test to check it.

From a block’s settings, Manage connections opens the same list filtered to the types the block can use.

ColumnShows
Name, Type, VersionThe connection
In use byThe flows and blocks that use it; No flow uses it. otherwise
Warnings“TLS not verified”, “Certificate ends in n days”, “Certificate expired”

A connection a flow still uses cannot be deleted: “A flow still uses it (n). Change those nodes first.”

HTTP endpoint

“A base URL with its authentication, for HTTP request nodes.”

FieldMeaningValues
base_urlThe base addresshttp:// or https://, required, up to 512 characters, no ?, # or @
allowed_hostsHosts a block may callexact names or one-level wildcards (*.example.com); default: the base URL’s host
authAuthenticationnone, basic, bearer, header, oauth2_client_credentials, aws_sigv4 (signed requests for cloud storage and function APIs)
tls_verifyCheck the server’s certificateon (default)
Custom CA (PEM)Trust these CAs instead of the public onesprefer this to turning verification off
Client certificate (PEM), Client key (PEM), Client key passwordFor servers that ask for a client certificate (mutual TLS)the key and password are secrets

Authentication fields:

authFields
basicusername, password (secret)
bearertoken (secret), sent as Authorization: Bearer
headerheader_name (letters, digits, -, up to 64), header_value (secret)
oauth2_client_credentialstoken_url (https, on the allowed hosts), client_id, client_secret (secret), scope, client_auth (basic or body: where the id and secret go)
aws_sigv4access_key_id, secret_access_key (secret), session_token (secret, temporary credentials only), region, service
  • OAuth 2 client credentials: the platform fetches a token from the token URL, keeps it until a minute before it expires, and sends it as a bearer token. A 401 from the API drops the token so the next call fetches a new one. A refused client fails with oauth_failed.
  • Signed requests: every request is signed with the access key just before it leaves, so the signature covers what is really sent. Use one endpoint per service and region, with a key that may do only what the flow needs.
  • Test sends one request and answers: “The server answered and accepted the credentials.”, “The credentials were rejected.”, “The address is private or not allowed.”, “The certificate could not be verified.”, “The server did not answer in time.” and similar.

MQTT broker

FieldMeaningDefaultValues
hostThe broker’s name or addressrequiredchecked against the address guard on every connect
portPort18831 to 65,535 (8883 is usual with TLS)
tlsUse TLSoffwith a custom CA and a client certificate for mutual TLS
tls_verifyCheck the broker’s certificateon
protocolMQTT version53.1.1, 5
client_id_modesuffixed (a base plus a unique suffix per connection) or fixed (exactly as given)suffixed
client_idThe client id, or its basenone256 characters; required when fixed
username, passwordCredentialsnonethe password is a secret
topic_prefixWhat ~/ in a topic stands fornone256 characters
keepalive_sKeep-alive601 to 65,535 s
connect_timeout_msTime to connect10,0001,000 to 60,000
clean_sessionStart each connection with an empty sessionon
session_expiry_sMQTT 5, clean session off: how long the broker keeps the session3001 to 86,400 s
  • Use fixed when the broker accepts only one connection per client id (some cloud brokers bind the id to an identity): the platform then keeps exactly one connection for the organisation, broker and id.
  • QoS 2 needs clean session off to survive a dropped connection.
  • Test opens one connection and reports “The broker accepted the connection.”, “The broker refused the connection (code n).”, “The credentials were rejected.” and similar.

External time-series database server

A connection for the block that writes to an external time-series database: the Server URL, the allowed hosts, the database’s API version (v2 or v1), then an Organisation and API token (v2) or a Username and Password (v1), and tls_verify. The token and password are secrets. Set it up only if you use that block.

Address rules

  • Private, loopback and internal addresses are always refused, on every attempt, after the name is resolved (ssrf_blocked, “The address is private or not allowed.”). Your connections must point to public addresses.
  • An HTTP request goes only to the endpoint’s scheme, port and allowed hosts; a path that tries to leave the base path is refused.
  • Redirects are not followed.

Secrets

RuleDetail
Write-onlyA stored secret shows “A value is stored. Leave empty to keep it.” Leave the field empty to keep it; type a new value to replace it.
EncryptedStored encrypted. If the platform has no encryption key set up, saving a secret fails (“Secrets cannot be stored right now…”).
Never copiedSecrets never reach messages, run records, logs, the audit log or exports. An imported flow’s connections need their secrets entered again.
Concurrent edits“Someone else changed this connection since you opened it. Your changes were not saved.” Open the latest version and edit again.

Webhook secrets

A Webhook trigger with token or hmac authentication has a generated secret. Open the editor’s Webhooks dialog (it appears once the flow is deployed and switched on):

ItemMeaning
AddressThe URL to call, with Copy
AuthBearer token, Signed request or Signed-in session
Reply“answers 202 at once”, or “answers with the flow’s reply”
Example callA ready request to copy
Make a new secretA new secret, shown once. “The old one keeps working for another 24 hours, so the callers can switch over.”
Revoke the old secret nowA new secret, and the old one stops at once. Use it when the old secret leaked.

A session webhook has no secret: the caller is a signed-in member of your organisation who holds the Call session-auth webhooks of deployed flows permission (and the block’s extra permission, if set). See Trigger blocks.