20 lines
723 B
Plaintext
20 lines
723 B
Plaintext
# Path to the Go auth plugin shared object
|
|
auth_plugin /mosquitto/go-auth.so
|
|
|
|
# Configure the authentication backends (adjust as needed)
|
|
auth_opt_backends files
|
|
|
|
# Specify the paths for passwords and ACLs
|
|
# https://github.com/iegomez/mosquitto-go-auth?tab=readme-ov-file#files
|
|
# Hashes may be generated using the `/mosquitto/pw` utility
|
|
auth_opt_files_password_path /etc/mosquitto/files/passwords
|
|
auth_opt_files_acl_path /etc/mosquitto/files/acls
|
|
|
|
# Plugin-specific options (examples)
|
|
# https://github.com/iegomez/mosquitto-go-auth?tab=readme-ov-file#configuration
|
|
# auth_opt_postgres_host=db
|
|
# auth_opt_postgres_port=5432
|
|
# auth_opt_postgres_user=user
|
|
# auth_opt_postgres_password=password
|
|
# auth_opt_postgres_dbname=mqtt
|