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 Details

    • read

      @Nullable Secrets read(SecretBackendMetadata secretBackendMetadata)
      Read secrets from a secret backend encapsulated within a SecretBackendMetadata. 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 - if VaultProperties.failFast is enabled.
    • getVaultOperations

      org.springframework.vault.core.VaultOperations getVaultOperations()
      Returns:
      the underlying VaultOperations.