Registry / testing / vault
library1.21.4javamavenunverified

Testcontainers Vault provides isolated HashiCorp Vault containers for integration testing in Java.

<dependency> <groupId>org.testcontainers</groupId> <artifactId>vault</artifactId> <version>1.21.4</version> </dependency>
INSTALL
IMPORT
SIG · VAULT
V
vault
testingjavav1.21.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VaultContainer
✓ org.testcontainers.vault.VaultContainer

Minimal usage of Testcontainers Vault to start a Vault container

import org.testcontainers.vault.VaultContainer; public class Example { public static void main(String[] args) { try (VaultContainer<?> vault = new VaultContainer<>("hashicorp/vault:1.13.0")) { vault.start(); System.out.println("Vault container started at " + vault.getHttpHost()); } } }
Debug
Known issues
gotchaTestcontainers requires Docker to be installed and running on the host.
fix
Ensure Docker is installed and the Docker daemon is running.
affects: *
Upgrade
Version history
1.21.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
vault — mvn dependency:get vault · libregistry