HUB
Sign inSign up
spring-cloud-vault logo

openeuler/spring-cloud-vault

Sponsored OSS

By openeuler

•Updated about 22 hours ago

Image
0

93

openeuler/spring-cloud-vault repository overview

⁠Quick reference

⁠Spring Cloud Vault | openEuler

Current Spring Cloud Vault docker images are built on openEuler⁠. This repository is free to use and exempted from per-user rate limits.

Spring Cloud Vault provides HashiCorp Vault integration for Spring Boot applications: it reads secrets from Vault at bootstrap time and exposes them through the Spring Environment with property-source abstractions.

The image bundles the upstream release-train stack on openEuler: the starter is resolved by the official spring-cloud-dependencies BOM (release train 2026.0.x, which pins spring-cloud-vault 5.1.0 on Spring Boot 4.2.0). The container entrypoint is a thin Spring Boot launcher that wraps the BOM-managed upstream starter; no upstream code is modified or recompiled.

Vault integration is disabled in the image default so the container can start standalone. Enable it through the mounted /app/config/application.yml (or environment variables) when a Vault server is available.

Learn more on Spring⁠.

The tag of each spring-cloud-vault docker image consists of the version of Spring Cloud Vault and the version of the base image. The details are as follows

TagCurrentlyArchitectures
5.1.0-oe2403sp4⁠Spring Cloud Vault 5.1.0 (train 2026.0.0) on openEuler 24.03-LTS-SP4amd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} based on their requirements.

  • Pull the openeuler/spring-cloud-vault image from docker

    docker pull openeuler/spring-cloud-vault:{Tag}
    
  • Check the image version

    docker run --rm openeuler/spring-cloud-vault:{Tag} cat /app/IMAGE_VERSION
    
  • Verify the container is healthy (integration disabled by default)

    docker run -d --name my-vault-client -p 8080:8080 \
        openeuler/spring-cloud-vault:{Tag}
    curl http://127.0.0.1:8080/actuator/health
    
  • Read secrets from a Vault server

    Mount a configuration file that enables the integration, for example:

    spring:
      cloud:
        vault:
          enabled: true
          uri: http://vault-server:8200
          authentication: TOKEN
          token: <your-token>
    
    docker run -d --name my-vault-client -p 8080:8080 \
        -v "$(pwd)/application.yml:/app/config/application.yml" \
        openeuler/spring-cloud-vault:{Tag}
    

    For application-embedded usage, add spring-cloud-starter-vault-config to your own Maven build instead:

    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-vault-config</artifactId>
    </dependency>
    
  • Known behavior notes

    • The git-style environment variable mapping applies to Vault properties too: spring.cloud.vault.<property> with hyphens must be written camelCase in env vars (e.g. SPRING_CLOUD_VAULT_URI for spring.cloud.vault.uri).

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:b929d29f8…

Size

192.5 MB

Last updated

about 22 hours ago

docker pull openeuler/spring-cloud-vault