public class VaultConfigLocation
extends org.springframework.boot.context.config.ConfigDataResource
ConfigDataLocation. Consists of a
SecretBackendMetadata.SecretBackendMetadata| Modifier and Type | Field and Description |
|---|---|
static String |
VAULT_PREFIX
Prefix used to indicate a
VaultConfigLocation. |
| Constructor and Description |
|---|
VaultConfigLocation(SecretBackendMetadata secretBackendMetadata,
boolean optional)
Create a new
VaultConfigLocation instance. |
VaultConfigLocation(String contextPath,
boolean optional)
Create a new
VaultConfigLocation instance. |
VaultConfigLocation(String contextPath,
org.springframework.vault.core.util.PropertyTransformer propertyTransformer,
boolean optional)
Create a new
VaultConfigLocation instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SecretBackendMetadata |
getSecretBackendMetadata() |
int |
hashCode() |
boolean |
isOptional() |
String |
toString() |
public static final String VAULT_PREFIX
VaultConfigLocation.public VaultConfigLocation(String contextPath, boolean optional)
VaultConfigLocation instance.contextPath - the context pathoptional - if the resource is optionalpublic VaultConfigLocation(String contextPath, org.springframework.vault.core.util.PropertyTransformer propertyTransformer, boolean optional)
VaultConfigLocation instance.contextPath - the context pathpropertyTransformer - the property transformeroptional - if the resource is optionalpublic VaultConfigLocation(SecretBackendMetadata secretBackendMetadata, boolean optional)
VaultConfigLocation instance.secretBackendMetadata - the backend descriptor.optional - if the resource is optionalpublic SecretBackendMetadata getSecretBackendMetadata()
public boolean isOptional()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.