Description
HashiCorp Vault is an identity-based secrets and encryption management system for storing API encryption keys, passwords, and certificates.Examples
var vault = new VaultContainer<>(DockerImageName.parse("hashicorp/vault:1.13.0"));
vault.start();
vaultContainer, err := vault.RunContainer(ctx,
testcontainers.WithImage("hashicorp/vault:1.13.0"),
vault.WithToken("root-token"),
vault.WithInitCommand("secrets enable transit", "write -f transit/keys/my-key"),
vault.WithInitCommand("kv put secret/test1 foo1=bar1"),
)