Skip to content

Docker Integration

To quickly, easily, and securely access Secrets, you can use the Vault HOA. This is a wrapper application that you can place around the application you want to secure.

Use multistage build (simple example)

you can simply use mutistage docker to transfer the vault hoa binary from the existing docker image to your target image

# hoa container
FROM ghcr.io/cryptvault-cloud/vault-hoa:latest as hoa
# your target dockerfile
FROM alpine:latest
WORKDIR /my_dir
COPY ./your_app_execution ./app
COPY --from=hoa /usr/bin/vault-hoa ./vault-hoa
CMD ["./vault-hoa", "./app"]

Or, you can download the binary (for example, for target images with a different CPU structure).

FROM alpine:latest as hoa
RUN wget -O /usr/bin/vault-hoa https://github.com/cryptvault-cloud/vault-hoa/releases/download/v0.0.10/vault-hoa_0.0.10_linux_arm64
RUN chmod 755 /usr/bin/vault-hoa
# your target dockerfile
FROM alpine:latest
WORKDIR /your_app_execution
COPY ./hoa_test ./app
COPY --from=hoa /usr/bin/vault-hoa ./vault-hoa
CMD ["./vault-hoa", "./app"]
© 2025 CryptVault. All rigths reserved.