Interface ReactiveVaultKeyValueOperationsSupport

All Known Subinterfaces:
ReactiveVaultKeyValueOperations, ReactiveVaultVersionedKeyValueOperations
All Known Implementing Classes:
ReactiveVaultVersionedKeyValueTemplate

public interface ReactiveVaultKeyValueOperationsSupport
Interface that specifies a basic set of Vault operations using Vault's Key/Value secret backend. Paths used in this operations interface are relative and outgoing requests prepend paths with the according operation-specific prefix.
Since:
3.1
Author:
Timothy R. Weiand, Mark Paluch
  • Method Details

    • list

      Flux<String> list(String path)
      Enumerate keys from a Vault path.
      Parameters:
      path - must not be null.
      Returns:
      the data. May be null if the path does not exist.
    • get

      Mono<? extends Object> get(String path)
      Read the secret at path.
      Parameters:
      path - must not be null.
      Returns:
      the data. May be Mono.empty() if the path does not exist.
    • delete

      Mono<Void> delete(String path)
      Delete the secret at path.
      Parameters:
      path - must not be null.
    • getApiVersion

      Returns:
      the used API version.