From 0a4c902ec72a0001de6ff59e4e548f81f84325d5 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Fri, 28 Oct 2016 16:57:45 +0200 Subject: [PATCH] Fix HashiCorp lettercasing. Fixes gh-33. --- README.adoc | 14 +++++++------- docs/index.html | 2 +- src/main/asciidoc/preface.adoc | 8 ++++---- src/main/asciidoc/reference/introduction.adoc | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.adoc b/README.adoc index 4faad046..44faa056 100644 --- a/README.adoc +++ b/README.adoc @@ -6,7 +6,7 @@ image::https://spring.io/badges/spring-vault/snapshot.svg[link=http://projects.s Spring Vault provides client-side support for accessing, storing and revoking secrets. -With https://www.vaultproject.io[Hashicorp's Vault] you have a central place to manage external secret data for applications across all environments. +With https://www.vaultproject.io[HashiCorp's Vault] you have a central place to manage external secret data for applications across all environments. Vault can manage static and dynamic secrets such as application data, username/password for remote applications/resources and provide credentials for external services such as MySQL, PostgreSQL, Apache Cassandra, Consul, AWS and more. == Getting Help @@ -160,7 +160,7 @@ public class AppConfig extends AbstractVaultConfiguration { */ @Override public VaultEndpoint vaultEndpoint() { - return new VaultEndpoint(); + return new VaultEndpoint(); } /** @@ -170,7 +170,7 @@ public class AppConfig extends AbstractVaultConfiguration { */ @Override public ClientAuthentication clientAuthentication() { - return new TokenAuthentication("…"); + return new TokenAuthentication("…"); } } ---- @@ -184,18 +184,18 @@ and then use `VaultTemplate` through its interface `VaultOperations`: public class MyApp { @Autowired VaultOperations vaultOperations; - + public void useVault() { Secrets secrets = new Secrets(); secrets.username = "hello"; secrets.password = "world"; - + vaultOperations.write("secret/myapp", secrets); - + VaultResponseSupport response = vaultOperations.read("secret/myapp", Secrets.class); System.out.println(response.getData().getUsername()); - + vaultOperations.delete("secret/myapp"); } } diff --git a/docs/index.html b/docs/index.html index 90dcb2cc..1f18ef9e 100755 --- a/docs/index.html +++ b/docs/index.html @@ -41,7 +41,7 @@ badges: Spring Vault provides familiar Spring abstractions and client-side support for accessing, storing and revoking secrets. It offers both low-level and high-level abstractions for interacting with Vault, freeing the user from infrastructural concerns. -With [Hashicorp's Vault](https://www.vaultproject.io) you have a central place to manage external secret data for applications across all environments. +With [HashiCorp's Vault](https://www.vaultproject.io) you have a central place to manage external secret data for applications across all environments. Vault can manage static and dynamic secrets such as application data, username/password for remote applications/resources and provide credentials for external services such as MySQL, PostgreSQL, Apache Cassandra, Consul, AWS and more. {% endcapture %} diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc index c12a85c8..826f10bf 100644 --- a/src/main/asciidoc/preface.adoc +++ b/src/main/asciidoc/preface.adoc @@ -1,11 +1,11 @@ [[preface]] = Preface -The Spring Vault project applies core Spring concepts to the development of solutions using Hashicorp Vault. We provide a "template" as a high-level abstraction for storing and querying documents. You will notice similarities to the REST support in the Spring Framework. +The Spring Vault project applies core Spring concepts to the development of solutions using HashiCorp Vault. We provide a "template" as a high-level abstraction for storing and querying documents. You will notice similarities to the REST support in the Spring Framework. This document is the reference guide for Spring Vault. It explains Vault concepts and semantics and the syntax. -This section provides some basic introduction to Spring and Vault. The rest of the document refers only to Spring Vault features and assumes the user is familiar with Hashicorp Vault as well as Spring concepts. +This section provides some basic introduction to Spring and Vault. The rest of the document refers only to Spring Vault features and assumes the user is familiar with HashiCorp Vault as well as Spring concepts. [[get-started:first-steps:spring]] == Knowing Spring @@ -27,9 +27,9 @@ The jumping off ground for learning about Vault is https://www.vaultproject.io[w * The online shell provides a convenient way to interact with a Vault instance in combination with the online tutorial. -* https://www.vaultproject.io/intro/index.html[Hashicorp Vault Introduction] +* https://www.vaultproject.io/intro/index.html[HashiCorp Vault Introduction] -* https://www.vaultproject.io/docs/index.html[Hashicorp Vault Documentation] +* https://www.vaultproject.io/docs/index.html[HashiCorp Vault Documentation] [[requirements]] == Requirements diff --git a/src/main/asciidoc/reference/introduction.adoc b/src/main/asciidoc/reference/introduction.adoc index 327ecfd7..601f7bd8 100644 --- a/src/main/asciidoc/reference/introduction.adoc +++ b/src/main/asciidoc/reference/introduction.adoc @@ -9,8 +9,8 @@ This part of the reference documentation explains the core functionality offered <> introduces the Vault module feature set. Spring Vault provides client-side support for accessing, storing and revoking secrets. -With https://www.vaultproject.io[Hashicorp's Vault] you have a central place to +With https://www.vaultproject.io[HashiCorp's Vault] you have a central place to manage external secret data for applications across all environments. -Vault can manage static and dynamic secrets such as application data, -username/password for remote applications/resources and provide credentials +Vault can manage static and dynamic secrets such as application data, +username/password for remote applications/resources and provide credentials for external services such as MySQL, PostgreSQL, Apache Cassandra, Consul, AWS and more.