guix/gnu
Giacomo Leidi 9d216d2ae9
services: postgresql-role: Add support for password files.
This commit adds a password-file to the postgresql-role field.  It
allows users to provision Postgres roles with a set password.

* gnu/services/databases.scm (postgresql-role): Add password-file field.
(postgresql-role-configuration): Add requirement field.
(postgresql-create-roles): Add support for setting passwords from a
file without leaking passwords to the command line.
(postgresql-role-shepherd-service): Add support for customizable
requirements.
(postgresql-role-service-type): Pass on postgresql-role-configuration
fields values by default, this way user configured fields are not lost.
* gnu/tests/databases.scm: Test it.
* doc/guix.texi: Document the new field and fix the extension point example.

Change-Id: I3aabaa10b0c5e826c5aa874e5649e25a3508a585
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-02 15:32:25 +09:00
..
bootloader
build image: Create zstd-compressed qcow2 images. 2025-04-30 17:14:24 +09:00
home
installer
machine machine: hetzner: Allow attaching existing public IPs. 2025-04-21 23:55:50 +02:00
packages gnu: Add redumper. 2025-05-02 09:53:54 +09:00
services services: postgresql-role: Add support for password files. 2025-05-02 15:32:25 +09:00
system vm: Account for an upstream change in the name of the Cirrus kernel module. 2025-04-27 02:29:41 -04:00
tests services: postgresql-role: Add support for password files. 2025-05-02 15:32:25 +09:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: hdf5: Update to 1.14.6. 2025-04-30 19:47:29 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm