executable_vault 294 B

123456789101112
  1. #!/usr/bin/env -S guile --no-auto-compile -e main -s
  2. !#
  3. (use-modules (guile config)
  4. (guile pass))
  5. (define (main args)
  6. (setenv "VAULT_ADDR" "https://vault.intr")
  7. (setenv "VAULT_TOKEN"
  8. (pass "show" "majordomo/public/vault/root"))
  9. (apply system* %vault (cdr args)))