Spring Cloud Vault Connector Core


Лицензия

Лицензия

Группа

Группа

io.pivotal.spring.cloud
Идентификатор

Идентификатор

spring-cloud-vault-connector-core
Последняя версия

Последняя версия

2.1.0.RELEASE
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Cloud Vault Connector Core
Spring Cloud Vault Connector Core
Ссылка на сайт

Ссылка на сайт

https://github.com/pivotal-cf/spring-cloud-vault-connector
Организация-разработчик

Организация-разработчик

Spring IO
Система контроля версий

Система контроля версий

https://github.com/pivotal-cf/spring-cloud-vault-connector

Скачать spring-cloud-vault-connector-core

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.pivotal.spring.cloud/spring-cloud-vault-connector-core/ -->
<dependency>
    <groupId>io.pivotal.spring.cloud</groupId>
    <artifactId>spring-cloud-vault-connector-core</artifactId>
    <version>2.1.0.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/io.pivotal.spring.cloud/spring-cloud-vault-connector-core/
implementation 'io.pivotal.spring.cloud:spring-cloud-vault-connector-core:2.1.0.RELEASE'
// https://jarcasting.com/artifacts/io.pivotal.spring.cloud/spring-cloud-vault-connector-core/
implementation ("io.pivotal.spring.cloud:spring-cloud-vault-connector-core:2.1.0.RELEASE")
'io.pivotal.spring.cloud:spring-cloud-vault-connector-core:jar:2.1.0.RELEASE'
<dependency org="io.pivotal.spring.cloud" name="spring-cloud-vault-connector-core" rev="2.1.0.RELEASE">
  <artifact name="spring-cloud-vault-connector-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.pivotal.spring.cloud', module='spring-cloud-vault-connector-core', version='2.1.0.RELEASE')
)
libraryDependencies += "io.pivotal.spring.cloud" % "spring-cloud-vault-connector-core" % "2.1.0.RELEASE"
[io.pivotal.spring.cloud/spring-cloud-vault-connector-core "2.1.0.RELEASE"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.springframework.cloud : spring-cloud-connectors-core jar 2.0.7.RELEASE

Модули Проекта

Данный проект не имеет модулей.

Spring Cloud Vault Connector

Spring Cloud Connector for using HashiCorp's Vault service broker on Cloud Foundry.

NOTE: This project is in maintenance mode, in favor of the newer Java CFEnv project. We will continue to release security-related updates but will not address enhancement requests.

Quick Start

Maven configuration

Add the Maven dependency:

<dependency>
  <groupId>io.pivotal.spring.cloud</groupId>
  <artifactId>spring-cloud-vault-spring-connector</artifactId>
  <version>${version}.RELEASE</version>
</dependency>

If you'd rather like the latest snapshots of the upcoming major version, use our Maven snapshot repository and declare the appropriate dependency version.

<dependency>
  <groupId>io.pivotal.spring.cloud</groupId>
  <artifactId>spring-cloud-vault-spring-connector</artifactId>
  <version>${version}.BUILD-SNAPSHOT</version>
</dependency>

<repository>
  <id>spring-libs-snapshot</id>
  <name>Spring Snapshot Repository</name>
  <url>https://repo.spring.io/libs-snapshot</url>
</repository>

Compatibility matrix

Component Version
Spring Vault 2.x (2.0 - 2.1)
Spring Cloud Vault 2.x (2.0 - 2.1)

Java Applications

Applications can use this connector to access the information in VCAP_SERVICES environment variable, necessary to connect to a Vault service.

CloudFactory cloudFactory = new CloudFactory();
Cloud cloud = cloudFactory.getCloud();
VaultServiceInfo myService = (VaultServiceInfo) cloud.getServiceInfo("MyService");
myService.getUri();
myService.getToken();

Spring Applications

Spring Application can use this connector to auto inject a VaultTemplate which enables the application to talk to the Vault server.

Spring Boot Applications with Spring Cloud Vault

Spring Boot Applications using Spring Cloud Vault are auto-reconfigured if a single Vault service is bound to the application.

Spring Vault is configured to use token authentication (using the provided token from the service broker), It loads by default secrets from the dedicated and shared generic backends:

spring.cloud.vault.generic.backends: generic, space, organization

You can override the configuration by setting the spring.cloud.vault.generic.backends property. Names specified in spring.cloud.vault.generic.backends are attempted to be resolved against shared_backends and backends maps from VCAP_SERVICES.

Supports port-less URL using scheme-specific port defaults.

io.pivotal.spring.cloud

Pivotal Cloud Foundry

Версии библиотеки

Версия
2.1.0.RELEASE
2.0.1.RELEASE
2.0.0.RELEASE
1.0.0.RELEASE