about summary refs log tree commit diff
path: root/pkgs/tools/security/vault
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-07-05 10:54:11 +0200
committerGitHub <noreply@github.com>2022-07-05 10:54:11 +0200
commit826c20dcae34f7e3be4d1a638b07fb7d95570ba0 (patch)
treef9ac09af4ca536eda263b1cdb8996c0e1ba3d71f /pkgs/tools/security/vault
parentf5522fb775353e6858d33b4986d344d1ba4adb83 (diff)
nixos/vault: add option to start in dev mode. (#180114)
* nixos/vault: add option to start in dev mode.

This is not only useful for nixos tests i.e. when testing vault agent
setups but also when playing around with vault in local setups. In our
tests we can now make use of this option to test more vault features.
i.e. adding this feature has uncovered the need for a `StateDirectory`.

* Update nixos/modules/services/security/vault.nix

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>

Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/security/vault')
-rw-r--r--pkgs/tools/security/vault/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/vault/default.nix b/pkgs/tools/security/vault/default.nix
index 039e41390d442..91f25957db2c2 100644
--- a/pkgs/tools/security/vault/default.nix
+++ b/pkgs/tools/security/vault/default.nix
@@ -38,7 +38,7 @@ buildGoModule rec {
       --prefix PATH ${lib.makeBinPath [ gawk glibc ]}
   '';
 
-  passthru.tests = { inherit (nixosTests) vault vault-postgresql; };
+  passthru.tests = { inherit (nixosTests) vault vault-postgresql vault-dev; };
 
   meta = with lib; {
     homepage = "https://www.vaultproject.io/";