Commit Graph

148 Commits

Author SHA1 Message Date
Mark Paluch
69af77a7f1 Adapt to changed GitHub repository name.
Adapt changed GitHub repository name in pom.xml and documentation.

See gh-92.
2017-03-31 12:48:09 +02:00
Mark Paluch
7ed152f295 Polishing.
Fix HashiCorp lettercasing in Readme.
2017-03-31 12:32:49 +02:00
Mark Paluch
02da01628d [maven-release-plugin] prepare for next development iteration 2017-03-16 14:42:26 +01:00
Mark Paluch
008209d9e1 [maven-release-plugin] prepare release 1.0.0.RC1 2017-03-16 14:42:26 +01:00
Mark Paluch
998098f60d Prepare release.
Upgrade dependencies:
Use Spring Cloud RC1/Release versions
Spring Vault 1.0.0.BUILD-SNAPSHOT -> 1.0.0.RC1
httpclient 4.5.2 -> 4.5.3
httpcore 4.4.5 -> 4.4.6
netty 4.1.6.Final -> 4.1.8.Final
OkHttp3 3.5.0 ->3.6.0
Jackson 2.8.2 -> 2.8.7

See gh-89.
2017-03-16 14:25:11 +01:00
Ryan Hoegg
47ba8bd056 Load secrets from several Vault paths
Load secrets from several Vault paths, according to the comma delimited application name.

fixes gh-74
2017-03-03 15:40:09 -05:00
Mark Paluch
5022727e58 Rename spring-cloud-vault-starter-config to spring-cloud-starter-vault-config.
Align naming with existing Spring Cloud starters.

Closes gh-83.
2017-02-24 13:57:11 -05:00
Mark Paluch
32c93c039b [maven-release-plugin] prepare for next development iteration 2017-01-27 09:08:04 +01:00
Mark Paluch
b0f4b137a5 [maven-release-plugin] prepare release 1.0.0.M2 2017-01-27 09:07:57 +01:00
Mark Paluch
d838a4672d Prepare release.
Remove snapshot repositories. Upgrade dependencies.

See gh-72.
2017-01-27 09:06:04 +01:00
Mark Paluch
af321ce9ec Add authentication to quickstart guide.
Fixes gh-30.
2016-12-14 15:16:26 +01:00
Jonathan Pearlin
e044328069 Fix configuration name for TLS auth in documentation.
Remove `.config` from the property name for setting the authentication type.

Original pull request: gh-56.
2016-11-22 16:17:34 +01:00
Mark Paluch
7ad057819b Fix HashiCorp lettercasing.
Fixes gh-54.
2016-10-28 17:00:05 +02:00
Mark Paluch
b867a43a5c [maven-release-plugin] prepare for next development iteration 2016-10-28 14:07:33 +02:00
Mark Paluch
b3db6a30c2 [maven-release-plugin] prepare release 1.0.0.M1 2016-10-28 14:07:29 +02:00
Mark Paluch
a83670e36b Polishing.
Fix project URL in starter. Use GA version for docs pom.xml.
2016-10-28 14:06:36 +02:00
Mark Paluch
1a4a69ba70 Specify plugin versions for jar, source, javadoc and deploy plugins.
Fixes gh-53.
2016-10-28 14:06:32 +02:00
Mark Paluch
bc37318fa2 Add version variable to reference docs. 2016-10-28 13:33:11 +02:00
Mark Paluch
14a215ce71 Add links to reference documentation links 2016-10-27 22:44:52 +02:00
Mark Paluch
bae281d4f5 Add links to reference documentation.
See gh-50.
2016-10-27 22:27:57 +02:00
Mark Paluch
423cbfcc5e Update documentation.
Fix code listings. Adopt changed repository path.

See gh-50.
2016-10-27 22:14:51 +02:00
Mark Paluch
5e00428649 Polishing.
Improve documentation.
2016-10-12 19:38:35 +02:00
Mark Paluch
5a68469c39 Support AppRole authentication.
We now support AppRole authentication. This authentication method uses a provided RoleId and optionally SecretId to authenticate against Vault.

Fixes gh-39.
2016-10-12 19:38:22 +02:00
Mark Paluch
a1318570d4 Support lease lifecycle (renewal and revocation).
Spring Cloud Vault now handles lifecycle of obtained secrets by property sources. Secrets associated with a renewable lease are renewed before they expire until terminal expiration. Application shutdown revokes leases so generated credentials can be disabled by Vault.

Fixes gh-40.
2016-10-10 08:24:26 +02:00
Mark Paluch
9215e2a76d Polishing.
Adopt Vault 0.6.1 compatibility in tests (disabled generation of root tokens). Fix typos.
2016-09-25 19:37:49 +02:00
Mark Paluch
dbfdb93ad9 Support MongoDB credential generation.
Fixes gh-28.
2016-09-25 19:37:24 +02:00
Mark Paluch
7c7aa05ae8 Add support for cubbyhole authentication.
We now support cubbyhole authentication to securely use tokens. 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 will be retrieved from a wrapped response stored at `/cubbyhole/response`.

A wrapped token can be created with:
vault token-create -wrap-ttl="10m"

boostrap.yml:
spring.cloud.vault:
    authentication: CUBBYHOLE
    token: (the wrapping token)

Fixes gh-15.
2016-09-21 22:21:31 +02:00
Mark Paluch
853750a1ba Polishing
Add author tag. Improve documentation. Regenerate readme.

Original pull request: gh-36
2016-09-21 19:13:24 +02:00
Marcin Grzejszczak
331312f469 Removed adoc footer 2016-09-07 18:04:24 +02:00
Stuart Ingram
bfb4cfcf74 Added HealthIndicator functionality as well as health API support.
Resolves #24
2016-08-26 15:16:27 -04:00
Mark Paluch
06e44d7c85 Upgrade quickstart/readme with SSL certificate creation
Fixes gh-31
2016-08-25 11:57:27 +02:00
Marcin Grzejszczak
56e29a46cf Updating ghpages for all projects 2016-08-22 13:33:12 +02:00
Marcin Grzejszczak
cd6448167b Updating ghpages for all projects 2016-08-19 11:47:36 +02:00
Marcin Grzejszczak
81a895b8f6 Updating ghpages for all projects 2016-08-18 13:16:32 +02:00
Marcin Grzejszczak
bcee8f06e7 Updating ghpages for all projects 2016-08-17 12:46:49 +02:00
Marcin Grzejszczak
2c93692fe7 Deploying documentation to proper folder
What we're missing ATM is different documentation versions for different application versions. What this change does is that it's:

- finding out what is the current branch (e.g. 1.0.x)
- finding out out what is the name of the main adoc file (e.g. spring-cloud-sleuth)
- pulling the changes from gh-pages after checkout
- finding out what is the list of comma separated whitelisted branches (via the `docs.whitelisted.branches` prop)
- in gh-pages creating a folder with name of the branch  (e.g. /1.0.x)
copying all the docs/target/generated-docs/ to that folder
- if the branch from which we're calling the script is NOT master then we're changing the ${main.adoc}.html to index.html so that it's easier to access the docs (e.g. http://cloud.spring.io/spring-cloud-sleuth/1.0.x/)
2016-08-16 15:47:08 +02:00
Mark Paluch
33553bf051 Add support for TLS certificate authentication
We now support TLS client certificate authentication. The client needs to enable SSL and configure a keystore containing the client certificate/private key pair.

spring.cloud.vault:
    authentication: CERT
    ssl:
        key-store: classpath:keystore.jks
        key-store-password: changeit

Fixes gh-25
2016-07-21 17:21:49 +02:00
Mark Paluch
9b88a0a88b Document AWS secret backend integration
See gh-4
2016-07-16 22:08:25 +02:00
Mark Paluch
c2c4f47545 Document Vault properties and dependencies
Fixes gh-22
2016-07-16 21:58:48 +02:00
Mark Paluch
50f6759452 Fix Consul spelling
Fixes gh-21
2016-07-12 08:13:10 +02:00
Mark Paluch
5475f58bf1 Support AWS-EC2 authentication
We now support AWS-EC2 authentication for applications running on EC2 instances. This authentication method uses the PKCS7 identity document to authenticate against Vault. It provides support for nonce (enabled by default) and roles.

fixes gh-17
2016-07-05 21:31:33 +02:00
Mark Paluch
28280f5dae Polishing
Reduce dependencies to Spring Web. Remove amqp test dependency from starter. Remove version property from vault parent pom.
2016-07-04 22:20:11 +02:00
Mark Paluch
656c181178 Add possibility to disable generic backend #12 2016-06-23 08:58:58 +02:00
Mark Paluch
625e60174f Support RabbitMQ credential generation
fixes gh-10
2016-06-19 17:57:05 +02:00
Mark Paluch
69a4bd2092 Support Consul credential generation
Fixes gh-5
2016-06-19 10:34:28 +02:00
Mark Paluch
1908919cf1 Add SSL trust-store configuration.
Spring Cloud Vault Config now supports property-based SSL configuration using spring.cloud.vault.ssl.* properties to enable server certificate validation.

Introducing a Vault-specific configuration requires to configure HTTP clients individually and so this change adds configuration support for Apache HTTP Components, Netty and the OkHttp client. Clients are picked configured if they exist on the class path.

Fixes gh-7
2016-06-04 21:36:47 +02:00
Mark Paluch
1171460bf1 Add support for the mysql, postgresql and cassandra secret backends.
We now support credential generation for MySQL, PostgreSQL and Apache Cassandra databases.
Credential generation can be turned on using properties and stores username/password in properties according to Spring Boot's auto configuration.

Fixes gh-2.
2016-05-14 00:13:12 +02:00
Mark Paluch
6f9da0822f Add basic documentation. 2016-05-11 23:19:13 +02:00