diff --git a/Home.md b/Home.md index 37f4479..ea160d5 100644 --- a/Home.md +++ b/Home.md @@ -27,4 +27,4 @@ Java Vault Connector is a connector library for [Vault](https://www.vaultproject * SQL secret handling * KV v1 and v2 support * Connector Factory with builder pattern -* Tested against Vault 1.7.2 +* Tested against Vault 1.8.3 diff --git a/Installation.md b/Installation.md index e7479db..2e5cd9b 100644 --- a/Installation.md +++ b/Installation.md @@ -12,16 +12,16 @@ The connector is published at Maven Central and may be included into your projec de.stklcode.jvault jvault-connector - 0.9.4 + 1.0.0 ``` ### Gradle Dependency ```groovy -compile group: 'de.stklcode.jvault', name: 'jvault-connector', version: '0.9.4' +compile group: 'de.stklcode.jvault', name: 'jvault-connector', version: '1.0.0' ``` ### SBT Dependency ``` -libraryDependencies += "de.stklcode.jvault" % "jvault-connector" % "0.9.4" +libraryDependencies += "de.stklcode.jvault" % "jvault-connector" % "1.0.0" ``` diff --git a/Usage-Connection.md b/Usage-Connection.md index 9cb8120..d92a722 100644 --- a/Usage-Connection.md +++ b/Usage-Connection.md @@ -13,7 +13,7 @@ To do so, use the builder to configure your connector. ```java // Instantiate using builder pattern style factory (TLS enabled by default) - VaultConnector connector = VaultConnectorBuilder.http() + VaultConnector connector = HTTPVaultConnector.builder() .withHost("vault.example.com") // Default: 127.0.0.1 .withPort(8200) // Default: 8200 .withTLS() // Default. Possible without TLS and with explicit version. @@ -22,10 +22,10 @@ To do so, use the builder to configure your connector. #### Provide custom CA certificate -For internal sites or to enforce a specific CA you might provide a custom CA certificate to trust. +For internal sites or to enforce a specific CA you might provide a custom CA certificate to trust as `Path` or `X509Certificate`. ```java - VaultConnector connector = VaultConnectorBuilder.http() + VaultConnector connector = HTTPVaultConnector.builder() .withHost("vault.example.com") .withPort(8200) .withTrustedCA(Paths.get("/path/to/CA.pem")) @@ -43,12 +43,12 @@ This feature supports the default Vault environment variables: * `VAULT_TOKEN` - Token for automatic authentication. ```java - VaultConnector connector = VaultConnectorBuilder.http() + VaultConnector connector = HTTPVaultConnector.builder() .fromEnv() .build(); // Or with automatic authentication. - VaultConnector connector = VaultConnectorBuilder.http() + VaultConnector connector = HTTPVaultConnector.builder() .fromEnv() .buildAndAuth(); ``` diff --git a/_Footer.md b/_Footer.md index b32323d..0f9866d 100644 --- a/_Footer.md +++ b/_Footer.md @@ -1,4 +1,4 @@ -Licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) +Licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) • [Project Page](http://jvault.stklcode.de) •