feat(wsl): add enpass-cli package and load-tf-secrets function#108
Merged
Conversation
Loads homelabconfigs Terraform secrets from Enpass vault via enpass-cli env command. Entry titles and field labels are placeholders pending user configuration. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Claude-Session: https://claude.ai/code/session_01Lr7gquKQVPezfc8NvN39q8
The load-tf-secrets function depends on enpass-cli being available. Install it from upstream GitHub releases rather than requiring a manual build from the fork. Claude-Session: https://claude.ai/code/session_01Lr7gquKQVPezfc8NvN39q8
enpass-cli requires all flags (-vault, -nonInteractive, -field) before the subcommand. The entry-title and field-label arguments were also swapped. Claude-Session: https://claude.ai/code/session_01Lr7gquKQVPezfc8NvN39q8
wpfleger96
pushed a commit
that referenced
this pull request
Jun 22, 2026
🤖 I have created a release *beep* *boop* --- ## [0.57.0](v0.56.0...v0.57.0) (2026-06-22) ### Features * **wsl:** add enpass-cli package and load-tf-secrets function ([#108](#108)) ([6a2aa81](6a2aa81)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: wpfleger-release-bot[bot] <282999489+wpfleger-release-bot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
enpass-clias a managed WSL package and aload-tf-secretsshell function for loading homelabconfigs Terraform secrets from an Enpass vault into the current shell session.enpass-cliis installed from upstream GitHub releases (hazcod/enpass-cli) via thescriptmethod — downloads the latestlinux_amd64zip, extracts the binary, and places it in~/.local/bin/enpass-cli. Markedwsl_onlysince the Enpass vault lives on the Windows filesystem.load-tf-secretsprompts for the master password once, exportsMASTERPW, runs all 11enpass-cli -nonInteractiveinvocations, then unsets itTF_VAR_*secrets across homelab/Proxmox (5), AWS (1), GCP (4), and Cloudflare (1) stacksENPASS_VAULT_PATHexported as WSL default pointing at the primary vault directoryenvcommand merged in hazcod/enpass-cli#158 (shipped in v1.12.0)https://claude.ai/code/session_01Lr7gquKQVPezfc8NvN39q8