Interface VaultConfigOperations
- All Known Implementing Classes:
VaultConfigTemplate
public interface VaultConfigOperations
Interface that specified a basic set of Vault operations, implemented by
VaultConfigTemplate.- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.vault.core.VaultOperationsread(SecretBackendMetadata secretBackendMetadata) Read secrets from a secret backend encapsulated within aSecretBackendMetadata.
-
Method Details
-
read
Read secrets from a secret backend encapsulated within aSecretBackendMetadata. Reading data using this method is suitable for secret backends that do not require a request body.- Parameters:
secretBackendMetadata- must not be null.- Returns:
- the configuration data. May be null.
- Throws:
IllegalStateException- ifVaultProperties.failFastis enabled.
-
getVaultOperations
org.springframework.vault.core.VaultOperations getVaultOperations()- Returns:
- the underlying
VaultOperations.
-