GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add HashiCorp Vault module by inf1nite-lo0p · Pull Request #1079 · testcontainers/testcontainers-node

Conversation

@inf1nite-lo0p

@inf1nite-lo0p inf1nite-lo0p commented Jul 16, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Adds a new VaultContainer based on the official hashicorp/vault image.

Supports health check on /v1/sys/health, root token configuration, and CLI-based initialization via vault commands.

Includes integration tests using node-vault to validate read/write and transit key setup.

Took inspiration for impelmenting this from the existing Java implementation:

https://github.com/testcontainers/testcontainers-java/blob/main/modules/vault/src/main/java/org/testcontainers/vault/VaultContainer.java

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco, mehrabmp, and mkhoshkam reacted with rocket emoji
All reactions
  • 🚀 3 reactions
@inf1nite-lo0p
Implement HashiCorp Vault module
3d809a6
@netlify

netlify Bot commented Jul 16, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

✅ Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 05211d1
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-node/deploys/687a1b417d082c000870a09c
😎 Deploy Preview https://deploy-preview-1079--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

inf1nite-lo0p added 2 commits July 16, 2025 20:57
@inf1nite-lo0p
Add documentation for Vault
6af8163
@inf1nite-lo0p
Add codeinclude markers to test file for documentation embedding
9d57dd0
@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Jul 16, 2025
cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread packages/modules/vault/src/vault-container.test.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread docs/modules/vault.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread packages/modules/vault/src/vault-container.test.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread packages/modules/vault/src/vault-container.test.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread packages/modules/vault/src/vault-container.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread packages/modules/vault/src/vault-container.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cristianrgreco
cristianrgreco reviewed Jul 17, 2025
View reviewed changes
Comment thread packages/modules/vault/src/vault-container.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@cristianrgreco cristianrgreco changed the title Implement HashiCorp Vault module Add HashiCorp Vault module Jul 17, 2025
@inf1nite-lo0p

inf1nite-lo0p commented Jul 17, 2025

Copy link
Copy Markdown
Contributor Author

Thanks for putting the time into reviewing this.

I'll address the remarks, and ask for another review.

cristianrgreco reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

inf1nite-lo0p and others added 6 commits July 18, 2025 12:59
@inf1nite-lo0p @cristianrgreco
Remove the empty lines between codeinclude markers
85c8091
Co-authored-by: Cristian Greco <[email protected]>
@inf1nite-lo0p @cristianrgreco
Make describe() block naming consistent: vault -> VaultContainer
6a04ce8
Co-authored-by: Cristian Greco <[email protected]>
@inf1nite-lo0p @cristianrgreco
Drop unnecessary fake sleep delay
9403756
Co-authored-by: Cristian Greco <[email protected]>
@inf1nite-lo0p @cristianrgreco
Make image a required param
7a1579a
Co-authored-by: Cristian Greco <[email protected]>
@inf1nite-lo0p
Use consistent wording for execVaultCommands thrown err message
2f40855
@inf1nite-lo0p @cristianrgreco
Isolate container lifecycle per test to avoid race conditions
05211d1
Co-authored-by: Cristian Greco <[email protected]>
@inf1nite-lo0p
inf1nite-lo0p requested a review from cristianrgreco July 18, 2025 10:01
cristianrgreco
cristianrgreco approved these changes Jul 18, 2025
View reviewed changes
@cristianrgreco
cristianrgreco merged commit b386b13 into testcontainers:main Jul 18, 2025
@cristianrgreco

cristianrgreco commented Jul 18, 2025

Copy link
Copy Markdown
Collaborator

Thanks, @inf1nite-lo0p!

inf1nite-lo0p reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@inf1nite-lo0p
inf1nite-lo0p deleted the feature/add-hashicorp-vault-module branch July 18, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cristianrgreco cristianrgreco cristianrgreco approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

enhancement New feature or request minor Backward compatible functionality

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@inf1nite-lo0p @cristianrgreco
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.