Spring Operator
7571621ef9
URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://blindsignals.com (200) with 1 occurrences could not be migrated:
([https](https://blindsignals.com ) result SSLHandshakeException).
* [ ] http://erik.eae.net/archives/2007/07/27/18.54.15/ (200) with 1 occurrences could not be migrated:
([https](https://erik.eae.net/archives/2007/07/27/18.54.15/ ) result SSLHandshakeException).
* [ ] http://javascript.nwbox.com/IEContentLoaded/ (200) with 1 occurrences could not be migrated:
([https](https://javascript.nwbox.com/IEContentLoaded/ ) result SSLHandshakeException).
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://foo.bar (UnknownHostException) with 1 occurrences migrated to:
https://foo.bar ([https](https://foo.bar ) result UnknownHostException).
* [ ] http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html (301) with 2 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html ([https](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html ) result 404).
* [ ] http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ (301) with 1 occurrences migrated to:
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ ([https](https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ ) result 404).
* [ ] http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ (301) with 8 occurrences migrated to:
https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ ([https](https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ ) result 404).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/ ) result 200).
* [ ] http://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/ ) result 200).
* [ ] http://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/ ) result 200).
* [ ] http://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/ ) result 200).
* [ ] http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html with 1 occurrences migrated to:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html ) result 200).
* [ ] http://docs.spring.io/spring/docs/ with 2 occurrences migrated to:
https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/ ) result 200).
* [ ] http://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html ([https](https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html ) result 200).
* [ ] http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html ) result 200).
* [ ] http://github.com/spring-projects/spring-vault with 1 occurrences migrated to:
https://github.com/spring-projects/spring-vault ([https](https://github.com/spring-projects/spring-vault ) result 200).
* [ ] http://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg with 1 occurrences migrated to:
https://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg ([https](https://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg ) result 200).
* [ ] http://pivotal.io/ with 1 occurrences migrated to:
https://pivotal.io/ ([https](https://pivotal.io/ ) result 200).
* [ ] http://projects.spring.io with 1 occurrences migrated to:
https://projects.spring.io ([https](https://projects.spring.io ) result 200).
* [ ] http://projects.spring.io/spring-vault/ with 1 occurrences migrated to:
https://projects.spring.io/spring-vault/ ([https](https://projects.spring.io/spring-vault/ ) result 200).
* [ ] http://repo.spring.io/milestone/org/springframework/vault/ with 1 occurrences migrated to:
https://repo.spring.io/milestone/org/springframework/vault/ ([https](https://repo.spring.io/milestone/org/springframework/vault/ ) result 200).
* [ ] http://repo.spring.io/snapshot/org/springframework/vault/ with 1 occurrences migrated to:
https://repo.spring.io/snapshot/org/springframework/vault/ ([https](https://repo.spring.io/snapshot/org/springframework/vault/ ) result 200).
* [ ] http://rubygems.org/ with 1 occurrences migrated to:
https://rubygems.org/ ([https](https://rubygems.org/ ) result 200).
* [ ] http://spring.io with 2 occurrences migrated to:
https://spring.io ([https](https://spring.io ) result 200).
* [ ] http://spring.io/blog with 1 occurrences migrated to:
https://spring.io/blog ([https](https://spring.io/blog ) result 200).
* [ ] http://spring.io/docs with 2 occurrences migrated to:
https://spring.io/docs ([https](https://spring.io/docs ) result 200).
* [ ] http://spring.io/guides/gs/gradle/ with 1 occurrences migrated to:
https://spring.io/guides/gs/gradle/ ([https](https://spring.io/guides/gs/gradle/ ) result 200).
* [ ] http://spring.io/guides/gs/maven/ with 1 occurrences migrated to:
https://spring.io/guides/gs/maven/ ([https](https://spring.io/guides/gs/maven/ ) result 200).
* [ ] http://spring.io/questions with 1 occurrences migrated to:
https://spring.io/questions ([https](https://spring.io/questions ) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-vault with 3 occurrences migrated to:
https://stackoverflow.com/questions/tagged/spring-vault ([https](https://stackoverflow.com/questions/tagged/spring-vault ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://twitter.com/springcentral with 1 occurrences migrated to:
https://twitter.com/springcentral ([https](https://twitter.com/springcentral ) result 200).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html ) result 301).
* [ ] http://github.com/SpringSource/spring-data-jpa with 1 occurrences migrated to:
https://github.com/SpringSource/spring-data-jpa ([https](https://github.com/SpringSource/spring-data-jpa ) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://projects.spring.io/spring-data-jpa with 1 occurrences migrated to:
https://projects.spring.io/spring-data-jpa ([https](https://projects.spring.io/spring-data-jpa ) result 301).
* [ ] http://projects.spring.io/spring-vault with 3 occurrences migrated to:
https://projects.spring.io/spring-vault ([https](https://projects.spring.io/spring-vault ) result 301).
* [ ] http://www.pivotal.io with 1 occurrences migrated to:
https://www.pivotal.io ([https](https://www.pivotal.io ) result 301).
* [ ] http://www.pivotal.io/privacy-policy with 1 occurrences migrated to:
https://www.pivotal.io/privacy-policy ([https](https://www.pivotal.io/privacy-policy ) result 301).
* [ ] http://www.pivotal.io/terms-of-use with 1 occurrences migrated to:
https://www.pivotal.io/terms-of-use ([https](https://www.pivotal.io/terms-of-use ) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
https://eclipse.org ([https](https://eclipse.org ) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/ ) result 302).
* [ ] http://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html with 1 occurrences migrated to:
https://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html ([https](https://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html ) result 302).
* [ ] http://repo.spring.io/libs-milestone with 1 occurrences migrated to:
https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone ) result 302).
* [ ] http://repo.spring.io/libs-snapshot with 2 occurrences migrated to:
https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot ) result 302).
* [ ] http://repo.spring.io/milestone with 4 occurrences migrated to:
https://repo.spring.io/milestone ([https](https://repo.spring.io/milestone ) result 302).
* [ ] http://spring.io/tools/sts with 1 occurrences migrated to:
https://spring.io/tools/sts ([https](https://spring.io/tools/sts ) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts ) result 302).
These URLs were intentionally ignored.
* http://127.0.0.1 with 1 occurrences
* http://127.0.0.1:443 with 1 occurrences
Closes gh-409.
Original pull request: gh-409.
2019-03-27 11:29:49 +01:00
Spring Operator
38775bec49
URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 2 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 154 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0.txt with 1 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt ) result 200).
Original pull request: #395 .
2019-03-25 10:13:51 +02:00
Spring Operator
94f20f0ae5
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://docs.spring.io/spring/docs/current/javadoc-api/ with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring/docs/current/javadoc-api/ ) result 200).
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://projects.spring.io/spring-vault/ with 2 occurrences migrated to:
https://projects.spring.io/spring-vault/ ([https](https://projects.spring.io/spring-vault/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 5 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 2 occurrences migrated to:
https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd ) result 301).
* http://www.spring.io with 2 occurrences migrated to:
https://www.spring.io ([https](https://www.spring.io ) result 301).
* http://docs.oracle.com/javase/6/docs/api with 1 occurrences migrated to:
https://docs.oracle.com/javase/6/docs/api ([https](https://docs.oracle.com/javase/6/docs/api ) result 302).
* http://repo.spring.io/libs-milestone-local with 1 occurrences migrated to:
https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 8 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 4 occurrences
Original pull request: gh-#389.
2019-03-18 08:12:36 +01:00
Mark Paluch
5332914d0d
[maven-release-plugin] prepare for next development iteration
2017-06-16 09:54:15 +02:00
Mark Paluch
70f912c201
[maven-release-plugin] prepare release 1.0.2.RELEASE
2017-06-16 09:54:15 +02:00
Mark Paluch
09e6e9229a
Polishing.
...
Extend time range in assertion to prevent failures due to too fast test execution.
2017-06-12 16:07:46 +02:00
Mark Paluch
b19fb624cc
Polishing.
...
Add author tag. Update LoginToken javadoc. Refactor numeric literals representing milliseconds to TimeUnit use. Add tests.
See gh-96.
Original pull request: gh-97.
2017-05-20 16:56:33 +02:00
Steve Swor
d0be6dc8df
Convert login token duration to milliseconds when calculating renewal time.
...
Fixes gh-96.
Original pull request: gh-97.
2017-05-20 09:42:39 +02:00
Mark Paluch
4fbb6a51a8
Fallback to default port if Endpoint URI does not declare a port.
...
We now use the default port (scheme-specific) if a URI does not declare an explicit port number.
Fixes gh-99.
2017-05-18 17:26:46 +02:00
Mark Paluch
e2f13692f0
[maven-release-plugin] prepare for next development iteration
2017-05-12 10:33:57 +02:00
Mark Paluch
b988673059
[maven-release-plugin] prepare release 1.0.1.RELEASE
...
See gh-92.
2017-05-12 10:33:49 +02:00
Mark Paluch
494a10389e
Include notice and license in jar files.
...
Closes gh-93.
2017-05-12 10:20:53 +02:00
Mark Paluch
9946f5ed79
Polishing.
...
Fix ordering of static final modifiers. Fix Cubbyhole lettercasing.
See gh-88.
2017-05-02 09:42:30 +02:00
Mark Paluch
a7d8cdb229
Lookup remaining TTL and renewability in CubbyholeAuthentication.
...
We now perform a self-lookup by default for tokens retrieved from CubbyholeAuthentication to determine the remaining TTL and renewability. Static tokens and wrapped tokens with a TTL associated qualify for self-lookup. Wrapped tokens without a TTL are not self-looked up because all details are already given at the time of reading the wrapped response.
TTL starts at the time of the token creation and this delay can impact the first renewal time so the token can expire and then a renewal happens which fails because of the offset delay.
Fixes gh-88.
2017-05-02 09:42:26 +02:00
Mark Paluch
7fbd790268
Calculate renewal schedule upfront.
...
We now calculate renewal schedule after obtaining the token/the last renewal before scheduling the next renewal. We also made LoginToken public and provide a RefreshTrigger API to implement custom renewal time calculation strategies. Custom strategies can be fine-tuned to specific requirements (rate limiting, fine-grained control). We provide with FixedTimeoutRefreshTrigger an implementation to calculate refresh time based on a fixed timeout.
Previously, the renewal time was calculated inside the Trigger callback that was invoked eventually which allowed a time to pass between login/last renewal and the actual time calculation. This difference can lead to token expiry before the actual renewal.
Fixes gh-87.
2017-05-02 09:40:05 +02:00
Mark Paluch
755039114e
Improve unsupervised network interface lookup.
...
Spring Vault now attempts to lookup a network interface with a hardware address if localhost network address lookup fails. Network interfaces are sorted by their index, if available (since Java 1.7) before scanning interfaces for a hardware address. The index is a OS and platform-specific identifier that usually describes the order of services in which the underlying system orders the interfaces. The ordering of NetworkInterface.getNetworkInterfaces() does not necessarily reflect the system order.
Fixes gh-84.
2017-04-25 16:03:19 +02:00
Mark Paluch
78a3d07b48
Consider configured meta attributes in VaultTokenRequestBuilder.
...
Closes gh-80.
2017-04-25 16:03:19 +02:00
Mark Paluch
e6817a4b0c
Post-release cleanups.
...
See gh-72.
2017-04-10 10:38:29 +02:00
Spring Buildmaster
cc8fbadbe0
[artifactory-release] Release version 1.0.0.RELEASE
...
See gh-72.
2017-04-10 08:20:59 +00:00
Mark Paluch
a9c2cf72f8
Provide session context to Vault sealing.
...
We now call /sys/seal with a token again. The session context got lost due to refactoring from VaultClient to RestTemplate use.
Closes gh-70.
2017-04-07 09:07:48 +02:00
Mark Paluch
9c14c4536a
Exclude null-valued properties from Vault PropertySources.
...
We now remove null-valued properties when transforming properties to their PropertySource representation. Vault can reply with null-valued properties that causes NullPointerException with the ConcurrentHashMap implementations.
Closes gh-69.
2017-04-05 19:32:34 +02:00
Mark Paluch
b6d0b04b18
Polishing.
...
Replace static imports with qualified use. Add author tags. Add copyright header. Simplify code. Simplify JavaDoc documentation. Rename test class and methods to align with project style.
Original pull request: #64 .
2017-03-31 12:22:30 +02:00
Pierre-Jean Vardanega
ba135817fa
Allow to create RequestedSecret from mode and path.
...
Original pull request: #64 .
2017-03-31 12:16:08 +02:00
Mark Paluch
30ce9667c7
[maven-release-plugin] prepare for next development iteration
2017-03-16 13:09:31 +01:00
Mark Paluch
90250d466e
[maven-release-plugin] prepare release 1.0.0.RC1
2017-03-16 13:09:31 +01:00
Mark Paluch
d3d44601a9
Polishing.
...
Use org.mockito.junit.MockitoJUnitRunner instead of the deprecated org.mockito.runners.MockitoJUnitRunner.
2017-03-16 12:20:41 +01:00
Mark Paluch
6875da1a75
Polishing.
...
Reformar code.
2017-03-16 12:19:25 +01:00
Mark Paluch
20fda62937
Use TaskScheduler in LifecycleAwareSessionManager.
...
We now accept TaskScheduler in LifecycleAwareSessionManager to schedule session refresh tasks. Previously, LifecycleAwareSessionManager used AsyncTaskExecutor with Thread.sleep(…) to delay execution. Thread.sleep blocks a thread exclusively which is an inefficient resource usage.
Closes gh-59.
2017-03-16 12:17:27 +01:00
Mark Paluch
33c80aea74
Polishing.
...
Polish JavaDoc wording. Add tests. Prevent lease revocation for secrets without an associated lease.
See gh-50.
2017-03-09 14:56:04 +02:00
Mark Paluch
d8d85e1a67
Polishing.
...
Align wording in JavaDoc. Provide package-level JavaDoc.
2017-03-08 21:41:03 +01:00
Mark Paluch
51c6a81c25
Add LeaseAwareVaultPropertySource.
...
We now provide a Lease-aware PropertySource to renew and rotate secrets requested by that PropertySource. Lease renewal is applied per property source to control individual secrets with individual lease durations. A terminal expired lease can be either rotated to obtain new credentials. A non-rotated secret that terminally expires is removed from the property source. LeaseAwareVaultPropertySource is updated by SecretLeaseContainer on a background thread.
Components created with properties retrieved from LeaseAwareVaultPropertySource are not refreshed upon secret rotation.
@VaultPropertySource(value = "aws/creds/s3", renewal = Renewal.ROTATE)
public class Config {
}
@VaultPropertySource(value = "mysql/creds/my-role", renewal = Renewal.RENEW)
public class Config {
}
Closes gh-50.
2017-03-08 21:41:00 +01:00
Mark Paluch
81ade23b8c
Add SecretLeaseContainer to renew leases and rotate secrets.
...
We now provide an event-driven container to request secrets with renewal and rotation on terminal lease expiration.
See gh-50.
2017-03-08 21:18:34 +01:00
Mark Paluch
f8a4e3a4fd
Add EnvironmentVaultConfiguration.
...
Provide a EnvironmentVaultConfiguration for common configuration scenarios to obtain configuration from Spring's Environment. EnvironmentVaultConfiguration supports various authentication mechanisms: Token, AppId, AppRole, AWS EC2, Client-Certificates, and Cubbyhole.
Java-based configuration class:
@PropertySource("vault.properties")
@Import(EnvironmentVaultConfiguration.class)
public class MyConfiguration{
}
vault.properties
vault.uri=https://localhost:8200
vault.token=…
Closes gh-30.
2017-03-02 11:58:44 +01:00
Mark Paluch
7101a38ace
Cleanup transit keys after test run.
...
Remove transit keys before/after testrun to leave a clean state.
See gh-53.
2017-02-20 11:30:31 -05:00
Mark Paluch
d3491dd712
Configure RestTemplate with required HttpMessageConverters.
...
VaultClients.createRestTemplate() creates a RestTemplate that is configured with ByteArray, String and Jackson 2 message converters to avoid additional message converters to be registered, if they were on available on the classpath.
Fixes gh-47.
2017-02-16 16:23:52 +01:00
Mark Paluch
c9bde5a15f
Allow listing transit keys.
...
VaultTransitOperations exposes now getKeys() to retrieve transit key names.
Closes gh-53.
2017-02-16 16:00:16 +01:00
Mark Paluch
feb12c517c
Provide an empty VaultTransitContext.
...
Provide VaultTransitContext.empty() to create an empty VaultTransitContext for encryption/decryption of binary plaintext without requiring to use VaultTransitContext builder.
Closes gh-54.
2017-02-16 15:42:50 +01:00
Mark Paluch
5078a4c133
Remove VaultClient in favor of RestOperations.
...
Remove VaultClient from VaultTemplate and switch implementations to use RestOperations directly. VaultClient provided an additional abstraction level over RestTemplate with a large API surface adding only little value.
Implementations work directly with RestOperations. Relative URI expansion is handled by DefaultUriTemplateHandler configured with the VaultEndpoint base URI.
Closes gh-49.
Original pull request: gh-57.
2017-02-16 14:34:21 +01:00
Mark Paluch
746fceee0f
Polishing.
...
SPR-14744 was resolved so the netty test can be enabled again.
2017-02-05 17:11:14 +01:00
Mark Paluch
d3af1d49ce
Support JVM proxy settings using Apache HttpComponents.
...
Closes gh-52.
2017-02-05 17:09:22 +01:00
Mark Paluch
f8409e2f80
Support property prefixes with VaultPropertySource.
...
We now support optional prefixing of property names. Property names coming from Vault are exposed with a prefixed name through VaultPropertySource.
@VaultPropertySource(value = "mysql/creds/readonly", propertyNamePrefix = "database.")
static class Configuration{}
will expose all keys under "mysql/creds/readonly" prefixed with "database." that lead properties known as "database.username" and "database.password".
Closes gh-48.
2017-02-02 17:16:58 +01:00
Mark Paluch
bd91e94ebc
[maven-release-plugin] prepare for next development iteration
2017-01-17 10:39:58 +01:00
Mark Paluch
d9ee8d0eb5
[maven-release-plugin] prepare release 1.0.0.M2
2017-01-17 10:39:52 +01:00
Mark Paluch
587394aa97
Polishing.
...
Enhance JavaDoc.
See gh-40.
2016-12-15 10:48:11 +01:00
Mark Paluch
c387aec23e
Flatten hierarchical JSON objects into property paths.
...
Hierarchical JSON data stored in Vault is flattened to property paths with dot-notation.
{
"database": {
"password": ...
},
"items": ["one", "two"],
"user.name": ...,
}
results in
database.password=...
items[0]=one
items[1]=two
user.name=...
Fixes gh-40.
2016-12-15 10:36:19 +01:00
Mark Paluch
65494e4e63
Add support for OkHttp 3.
...
Fixes gh-39.
2016-12-14 11:30:22 +01:00
Mark Paluch
4d337b1923
Add warnings to VaultResponseSupport.
...
Fixes gh-36.
2016-11-30 11:03:59 +01:00
Mark Paluch
dd67ffa582
Disable netty-based tests.
...
See SPR-14744.
See gh-35.
2016-11-09 11:44:54 +01:00
Mark Paluch
d6dea09311
[maven-release-plugin] prepare for next development iteration
2016-10-28 11:33:48 +02:00
Mark Paluch
2b2862960b
[maven-release-plugin] prepare release 1.0.0.M1
2016-10-28 11:33:44 +02:00