Skip to content

Conversation

@inf1nite-lo0p
Copy link
Contributor

@inf1nite-lo0p inf1nite-lo0p commented Jul 16, 2025

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

@netlify
Copy link

netlify bot commented Jul 16, 2025

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.

@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Jul 16, 2025
@cristianrgreco cristianrgreco changed the title Implement HashiCorp Vault module Jul 17, 2025
@inf1nite-lo0p
Copy link
Contributor Author

Thanks for putting the time into reviewing this.

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

inf1nite-lo0p and others added 6 commits July 18, 2025 12:59
Co-authored-by: Cristian Greco <cristianrgreco@gmail.com>
Co-authored-by: Cristian Greco <cristianrgreco@gmail.com>
Co-authored-by: Cristian Greco <cristianrgreco@gmail.com>
Co-authored-by: Cristian Greco <cristianrgreco@gmail.com>
Co-authored-by: Cristian Greco <cristianrgreco@gmail.com>
@cristianrgreco cristianrgreco merged commit b386b13 into testcontainers:main Jul 18, 2025
316 checks passed
@cristianrgreco
Copy link
Collaborator

Thanks, @inf1nite-lo0p!

@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

Labels

enhancement New feature or request minor Backward compatible functionality

2 participants