nixpkgs/nixos/modules/services/security
Maximilian Bosch bccaac9535
nixos/privacyidea: better secret-handling ldap-proxy & RFC42-style settings for ldap-proxy
Instead of hard-coding a single `configFile` for
`privacyidea-ldap-proxy.service` which is pretty unmergable with other
declarations it now uses a RFC42-like approach. Also to make sure that
secrets can be handled properly without ending up in the Nix store, it's
possible to inject secrets via envsubst

    {
      services.privacyidea.ldap-proxy = {
        enable = true;
        environmentFile = "/run/secrets/ldap-pw";
        settings = {
          privacyidea.instance = "privacyidea.example.org";
          service-account = {
            dn = "uid=readonly,ou=serviceaccounts,dc=example,dc=org";
            password = "$LDAP_PW";
          };
        };
      };
    }

and the following secret file (at `/run/secrets`):

    LDAP_PW=<super-secret ldap pw>

For backwards-compat the old `configFile`-option is kept, but it throws
a deprecation warning and is mutually exclusive with the
`settings`-attrset. Also, it doesn't support secrets injection with
`envsubst` & `environmentFile`.
2022-07-14 23:51:17 +02:00
..
vaultwarden nixos/vaultwarden: Make example more detailed. 2022-06-08 17:03:53 +02:00
aesmd.nix nixos/intel-sgx: add option for Intel SGX DCAP compatibility 2022-01-11 14:02:16 +01:00
certmgr.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cfssl.nix nixos/cfssl: minor updates/cleanup 2022-02-05 18:53:35 -05:00
clamav.nix clamav: remove freshclam service dependency 2022-02-28 22:51:07 +01:00
fail2ban.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
fprintd.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
haka.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
haveged.nix haveged: 1.9.2 -> 1.9.15 2021-12-17 22:21:06 +02:00
hockeypuck.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
hologram-agent.nix treewide: remove nand0p as maintainer 2021-05-17 01:50:49 +02:00
hologram-server.nix
infnoise.nix nixos/infnoise: init 2022-05-27 15:18:43 -07:00
kanidm.nix nixos/kanidm: init 2022-05-05 19:06:13 +02:00
munge.nix
nginx-sso.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
oauth2_proxy_nginx.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
oauth2_proxy.nix nixos/oauth2_proxy: add user group 2022-03-25 08:35:30 -07:00
opensnitch.nix nixos/opensnitch: Add options to configure daemon 2022-03-02 18:38:56 -05:00
physlock.nix nixos/physlock: fix broken wrapper 2021-09-19 11:53:41 +02:00
privacyidea.nix nixos/privacyidea: better secret-handling ldap-proxy & RFC42-style settings for ldap-proxy 2022-07-14 23:51:17 +02:00
shibboleth-sp.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
sks.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
sshguard.nix treewide: pkgs.systemd -> config.systemd.package 2022-05-05 20:00:31 +02:00
sslmate-agent.nix nixos/sslmate-agent: init 2022-03-28 17:41:18 -06:00
step-ca.nix Merge pull request #150886 from mohe2015/improve-step-ca 2022-02-22 14:40:25 +01:00
tor.nix nixos/tor: fix services.tor.client.enable = false not working 2022-03-15 23:39:02 +01:00
torify.nix
torsocks.nix nixos/*: add trivial defaultText for options with simple defaults 2021-12-02 22:35:04 +01:00
usbguard.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
vault.nix nixos/vault: add option to start in dev mode. (#180114) 2022-07-05 10:54:11 +02:00
yubikey-agent.nix nixos/yubikey-agent add maintainer jwoudenberg 2021-10-29 23:13:50 +02:00