pgagroal_vault.conf(5)
π NAME π
pgagroal_vault.conf β the main configuration file for pgagroal-vault π (you're in the File Formats Manual, section 5, bestie, this is the one you came for)
β¨ DESCRIPTION β¨
Okay so pgagroal_vault.conf is the main configuration file for pgagroal-vault. She's the blueprint, the whole vibe, the source of truth π«Ά
The file is split into different sections, and you spot them by the [ and ] characters. The main section is called [pgagroal-vault] π
Any other section β which everyone generally just calls the main section β holds the pgagroal remote management configuration.
Every single property follows the format key = value. No cap.
For comments you can use the characters # and ; β but they must be the first character on the line, no sneaking them in halfway through, okay? π
The Bool data type accepts the following values: on, 1, true, off, 0 and false.
π OPTIONS π
πΈ The options for the pgagroal-vault section πΈ
hostβ the bind address forpgagroal-vault. Mandatory, so don't ghost her.portβ the bind port forpgagroal-vault. Mandatory too, obviously, they're a package deal.metricsβ the metrics port. Default is0(disabled).metrics_cache_max_ageβ how long a Prometheus (metrics) response gets to hang out in the cache. If you give a value with no units, it's read as seconds. It supports these suffixes:'S'for seconds (that's the default),'M'for minutes,'H'for hours,'D'for days, and'W'for weeks. Default is0(disabled).metrics_cache_max_sizeβ the maximum amount of data kept in the cache when serving Prometheus responses. Changing this needs a restart, jsyk. This parameter sets the size of the memory allocated for the cache even ifmetrics_cache_max_ageormetricsare disabled. But plot twist: its value only actually counts ifmetrics_cache_max_ageis set to a non-zero value. Suffixes it supports:B(bytes, the default if you omit it),KorKB(kilobytes),MorMB(megabytes),GorGB(gigabytes). Default is256k.log_typeβ the logging type (console,file,syslog). Default isconsole.log_levelβ the logging level, any of these case-insensitive strings:FATAL,ERROR,WARN,INFOandDEBUG(andDEBUGcan get more specific asDEBUG1thruDEBUG5). A debug level greater than 5 gets set toDEBUG5. Values that aren't recognized will make thelog_levelbeINFO. Default isinfo.log_pathβ where the log file lives. Default ispgagroal-vault.log. Can be astrftime(3)compatible string β¨log_rotation_ageβ how much time passes before log file rotation is triggered. If you give a value with no units, it's read as seconds. Supports these suffixes:'S'for seconds (default),'M'for minutes,'H'for hours,'D'for days, and'W'for weeks. Default is0(disabled).log_rotation_sizeβ the size of the log file that will trigger a log rotation. Supports suffixes:B(bytes, the default if omitted),KorKB(kilobytes),MorMB(megabytes),GorGB(gigabytes). A value of0(with or without a suffix) disables it. Default is0.log_line_prefixβ astrftime(3)compatible string used as the prefix for every log line. Must be quoted if it contains spaces. Default is%Y-%m-%d %H:%M:%S.log_modeβ append to or create the log file (append,create). Default isappend.log_connectionsβ log connects. Default isoff.log_disconnectionsβ log disconnects. Default isoff.authentication_timeoutβ how long the process will wait for valid credentials. If you give a value with no units, it's read as seconds. Supports these suffixes:'S'for seconds (default),'M'for minutes,'H'for hours,'D'for days, and'W'for weeks. Default is5.hugepageβ huge page support. Default istry.tlsβ enable Transport Layer Security (TLS). Default isfalse. Changes require restart in the server section.tls_cert_fileβ certificate file for TLS. Changes require restart in the server section.tls_key_fileβ private key file for TLS. Changes require restart in the server section.tls_ca_fileβ Certificate Authority (CA) file for TLS. Changes require restart in the server section.tls_cert_auth_modeβ certificate authentication mode used whentls_ca_fileis set.verify-caverifies only the CA signature.verify-fulladditionally verifies that the certificate's CN or SAN matches the username. Default isverify-ca.
π¦ The options for the main section π¦
hostβ the address of the pgagroal instance running the management server. Mandatory.portβ the management port of pgagroal. Mandatory.userβ the admin user of the pgagroal remote management service. Mandatory.
π REPORTING BUGS π
pgagroal is maintained on GitHub at <https://github.com/pgagroal/pgagroal> β go tell them everything, they want to know π«Ά
π COPYRIGHT π
pgagroal is licensed under the 3-clause BSD License.
π SEE ALSO π
pgagroal.conf(5), pgagroal_hba.conf(5), pgagroal_databases.conf(5), pgagroal(1), pgagroal-cli(1), pgagroal-admin(1), pgagroal-vault(1)
and that's a wrap on the pgagroal_vault.conf(5) page from the File Formats Manual, bestie π go configure something iconic, ily, bye π§β¨
π¦ where this page comes from
- ubuntu stonking: pgagroal 2.1.0-1ubuntu1 Β· BSD-pgagroal
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms