Files
nixos-servers/scripts/vault-fetch/default.nix
Torjus Håkestad 1f4b7a6cbc
Some checks failed
Run nix flake check / flake-check (push) Failing after 3m15s
vault: implement bootstrap integration
2026-02-02 22:41:15 +01:00

19 lines
385 B
Nix

{ pkgs, lib, ... }:
pkgs.writeShellApplication {
name = "vault-fetch";
runtimeInputs = with pkgs; [
curl # Vault API calls
jq # JSON parsing
coreutils # File operations
];
text = builtins.readFile ./vault-fetch.sh;
meta = with lib; {
description = "Fetch secrets from OpenBao/Vault and write to filesystem";
license = licenses.mit;
};
}