This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Vault 3.2.0!

Dependencies

If you want to use Spring Vault in your project, declare a dependency to the spring-vault-core artifact.

Example 1. Declaring a dependency to Spring Vault
<dependencies>
    <dependency>
        <groupId>org.springframework.vault</groupId>
        <artifactId>spring-vault-core</artifactId>
        <version>4.0.0-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>tools.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>${jackson-databind.version}</version>
    </dependency>
</dependencies>

The easiest way to find compatible versions of Spring Vault dependencies is by inspecting the properties section of spring-vault-parent. We generally recommend upgrading to the latest dependency of Jackson 3, your HTTP clients and your Cloud provider SDK.

Spring Vault 4.0 supports Jackson 3 and Jackson 2. Make sure to declare a Jackson dependency as Spring Vault does not include Jackson transitively for easier opt-in. When both Jackson 2 and Jackson 3 are on the classpath, Spring Vault will use Jackson 3 aligning with Spring Framework 7 preferences. Spring Vault also assumes the usage of Jackson 3 in the HTTP client.

Spring Framework

The current version of Spring Vault requires Spring Framework in version 7.0.0-M6 or newer. The modules might also work with an older bugfix version of that minor version. However, using the most recent version within that generation is highly recommended.