Skip to content

Configuring

All configuration is done via environment variables.

Environment Variables

➡ SHELLHUB_AGENT_SERVER_ADDRESS

Set the ShellHub Cloud server address the agent will use to connect.

➡ SHELLHUB_AGENT_PRIVATE_KEY

Specify the path to the device private key

➡ SHELLHUB_AGENT_TENANT_ID

Sets the tenant id used during communication to associate the device to a specific namespace.

➡ SHELLHUB_AGENT_KEEPALIVE_INTERVAL

Determine the interval to send the keep alive message to the server.

➡ SHELLHUB_AGENT_PREFERRED_HOSTNAME

This provides a hint to the server to use this as hostname if it is available.