Repository navigation
Replies: 1 comment
|
the restricted-environment score is the one worth fixing first. the hardcoded download url in run.sh is a real blocker for air-gapped or corp-proxied environments. adding a |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A discussion dedicated to the Vault CLI module. Share your thoughts, questions, and feedback here.
Module Scorecard
Drilldown
Track: Utility (CLI/auth helper module; Universal criteria only, normalized from /75)
Presentation & Onboarding — 12 / 17
Credential Hygiene — 20 / 20
vault_tokenis declaredsensitive = trueinmain.tf; all README examples referencevar.vault_tokenrather than inlining a literal/placeholder token.var.vault_token(tfvars/variable indirection) and links tovault-github/vault-jwtmodules for OIDC/JWT-based, non-static-secret authentication.Restricted-Environment Readiness — 1 / 20
run.shhardcodeshttps://api.releases.hashicorp.com/...andhttps://releases.hashicorp.com/vault/.... No module variable overrides the download URL;vault_cli_versiononly selects a version, not a source.install = false/skip_install). Script always attempts to fetch and install Vault; pre-baked binaries aren't a documented path.api.releases.hashicorp.com,releases.hashicorp.com) only appear implicitly in script code, not documented in README.run.shtries directmvtoINSTALL_DIRfirst, falls back tosudo mv, and if that fails too, falls back to~/.local/binwithout sudo — a working non-root fallback for optional privileged install, matching the "half" case.Engineering Quality — 10 / 10
install_dirandvault_cli_versionhave sensible defaults;vault_cli_versionhas a regexvalidationblock (semver or "latest"); sensitive flag set correctly on token.main.tftest.hclexercises token/no-token, namespace, custom version (valid/invalid/v-prefix rejection), install dir, and enterprise flag — solid business-logic coverage via.tftest.hcl(no TS tests, but none needed for this non-UI utility).Overall — 64 / 100
Raw 43 / 67 → round(43 / 67 × 100) = 64
Scored against SCORECARD.md on 2026-11-09 with
solstice-1.All reactions