@FunctionalInterface public interface VaultKvAccessStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
VaultKvAccessStrategy.VaultResponse
Vault response POJO.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getData(org.springframework.http.HttpHeaders headers,
String backend,
String key)
Return secrets from Vault.
|
String getData(org.springframework.http.HttpHeaders headers, String backend, String key) throws org.springframework.web.client.RestClientException
String.headers - must not be null.backend - secret backend mount path, must not be null.key - key within the key-value secret backend, must not be null.org.springframework.web.client.RestClientException - in case of a transport/access failure.JsonRawValueCopyright © 2022 Pivotal Software, Inc.. All rights reserved.