Commit Graph

7 Commits

Author SHA1 Message Date
Mark Paluch
7af121f237 Add support to generate certificates using the PKI backend.
Fixes gh-11.
2016-09-26 21:15:05 +02:00
Mark Paluch
19ea723649 Add VaultPropertySource support.
Spring Vault now supports VaultPropertySource. Property sources can be registered programatically to be used with Spring's Property source abstraction. @VaultPropertySource can be declared on @Configuration classes to obtain properties from Vault and expose these properties inside Spring's Environment.

@Configuration
@VaultPropertySource("secret/my-application")
public class AppConfig {

    @Autowired Environment env;

    @Bean
    public TestBean testBean() {
        TestBean testBean = new TestBean();
        testBean.setPassword(env.getProperty("database.password"));
        return testBean;
    }
}

Fixes gh-9.
2016-09-24 22:09:11 +02:00
Mark Paluch
798d6ed99e Enhance documentation about client support.
Fixes gh-4.
2016-09-19 22:05:39 +02:00
Mark Paluch
21828466a8 Add script to bootstrap test environment. 2016-09-19 20:24:42 +02:00
Mark Paluch
bca07a916c Support Cubbyhole authentication.
Cubbyhole authentication uses Vault primitives to provide a secured authentication workflow. Cubbyhole authentication uses tokens as primary login method. An ephemeral token is used to obtain a second, login VaultToken from Vault’s Cubbyhole secret backend. The login token is usually longer-lived and used to interact with Vault. The login token can be retrieved either from a wrapped response or from the data section.

Fixes gh-3
2016-09-18 22:56:44 +02:00
Mark Paluch
a3ff656c4d Assert compatibility with Vault 0.5.2, 0.6.0 and 0.6.1
Support top level auth mount response and nested (within `data`) mount responses. Add build matrix to TravisCI. Adopt tests to earlier Vault responses.

Fixes gh-2
2016-09-17 20:52:20 +02:00
Mark Paluch
b5e09f2d53 Initial import. 2016-09-14 08:51:14 +02:00