This commit is contained in:
Stefan Kalscheuer 2016-12-27 17:49:51 +01:00
parent 17145e53be
commit b036b73e11
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
## 0.4.1 [2016-12-24] ## 0.4.1 [2016-12-24]
* [fix] Factory Null-tolerant for trusted certificate (#6) * [fix] Factory Null-tolerant for trusted certificate (#6)
* [test] StackTraces testet for secret leaks * [test] StackTraces tested for secret leaks
* [test] Tested against Vault 0.6.4 * [test] Tested against Vault 0.6.4
## 0.4.0 [2016-11-06] ## 0.4.0 [2016-11-06]

View File

@ -2,7 +2,7 @@ Java Vault Connector
========= =========
Java Vault Connector is a connector library for [Vault](https://www.vaultproject.io) by [Hashicorp](https://www.hashicorp.com) written in Java. The connector allows simple usage of Vault's secret store in own applications. Java Vault Connector is a connector library for [Vault](https://www.vaultproject.io) by [Hashicorp](https://www.hashicorp.com) written in Java. The connector allows simple usage of Vault's secret store in own applications.
**Current available features:** **Features:**
* HTTP(S) backend connector * HTTP(S) backend connector
* Ability to provide or enforce custom CA certificate * Ability to provide or enforce custom CA certificate
@ -27,17 +27,17 @@ Java Vault Connector is a connector library for [Vault](https://www.vaultproject
**Usage Example** **Usage Example**
```java ```java
// Instanciate using builder pattern style factory // Instantiate using builder pattern style factory
VaultConnector vault = VaultConnectorFactory.httpFactory() VaultConnector vault = VaultConnectorFactory.httpFactory()
.withHost("127.0.0.1") .withHost("127.0.0.1")
.withPort(8200) .withPort(8200)
.withTLS() .withTLS()
.build(); .build();
//authenticate with token // Authenticate with token
vault.authToken("01234567-89ab-cdef-0123-456789abcdef"); vault.authToken("01234567-89ab-cdef-0123-456789abcdef");
// retrieve secret // Retrieve secret
String secret = vault.readSecret("some/secret/key").getValue(); String secret = vault.readSecret("some/secret/key").getValue();
``` ```