Class SpringVaultEnvironmentRepository
java.lang.Object
org.springframework.cloud.config.server.environment.AbstractVaultEnvironmentRepository
org.springframework.cloud.config.server.environment.vault.SpringVaultEnvironmentRepository
- All Implemented Interfaces:
EnvironmentRepository, org.springframework.core.Ordered
- Author:
- Scott Frederick
-
Field Summary
Fields inherited from class AbstractVaultEnvironmentRepository
backend, defaultKey, defaultLabel, enableLabel, fullKeyPath, order, profileSeparator, request, watchFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionSpringVaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<jakarta.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, VaultEnvironmentProperties properties, org.springframework.vault.core.VaultKeyValueOperations keyValueTemplate) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.vault.core.VaultKeyValueOperationsprotected StringMethods inherited from class AbstractVaultEnvironmentRepository
findOne, getOrder, setDefaultKey, setOrder, setProfileSeparatorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EnvironmentRepository
findOne
-
Constructor Details
-
SpringVaultEnvironmentRepository
public SpringVaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<jakarta.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, VaultEnvironmentProperties properties, org.springframework.vault.core.VaultKeyValueOperations keyValueTemplate)
-
-
Method Details
-
read
- Specified by:
readin classAbstractVaultEnvironmentRepository
-
getKeyValueTemplate
public org.springframework.vault.core.VaultKeyValueOperations getKeyValueTemplate()
-