Diff

CHANGES @ 13627:2db7b3b65363

core.configmanager: Add function for getting secrets from separate files Idea is to enable easily retrieving of secret values from files outside of the config, e.g. via the method used by systemd credentials. CREDENTIALS_DIRECTORY is expected to be set by the process manager invoking Prosody, so being unset and unavailable from prosodyctl is going to be normal and a warning is reported in that case. Care will have to be taken to make it clear that prosodyctl check will not work with such values. An error is thrown if the directory is unavailable when running under Prosody.
author Kim Alvefur <zash@zash.se>
date Thu, 16 Jan 2025 15:21:34 +0100
parent 13626:ac60c21015c7
child 13632:844e7bf7b48a
line wrap: on
line diff
--- a/CHANGES	Thu Jan 16 15:05:00 2025 +0100
+++ b/CHANGES	Thu Jan 16 15:21:34 2025 +0100
@@ -60,7 +60,7 @@
 
 - The configuration file now supports referring and appending to options previously set
 - Direct usage of the Lua API in the config file is deprecated, but can now be accessed via Lua.* instead
-- Convenience functions for reading values from files
+- Convenience functions for reading values from files, with variant meant for credentials or secrets
 
 ## Changes