Interface VaultConfigOperations
-
- All Known Implementing Classes:
VaultConfigTemplate
public interface VaultConfigOperationsInterface that specified a basic set of Vault operations, implemented byVaultConfigTemplate.- Author:
- Mark Paluch
- See Also:
VaultConfigTemplate,Secrets
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.vault.core.VaultOperationsgetVaultOperations()Secretsread(SecretBackendMetadata secretBackendMetadata)Read secrets from a secret backend encapsulated within aSecretBackendMetadata.
-
-
-
Method Detail
-
read
@Nullable Secrets read(SecretBackendMetadata secretBackendMetadata)
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.
-
-