Interface ReactiveVaultKeyValueMetadataOperations


public interface ReactiveVaultKeyValueMetadataOperations
Interface that specifies a basic set of Vault operations using Vault's versioned Key/Value (kv version 2) secret backend. Paths used in this operations interface are relative and outgoing requests prepend paths with the according operation-specific prefix.

Clients using versioned Key/Value must be aware they are reading from a versioned backend as the versioned Key/Value API (kv version 2) is different from the unversioned Key/Value API (kv version 1).

Since:
3.1
Author:
Timothy R. Weiand
See Also:
  • Method Details

    • get

      Retrieve the metadata and versions for the secret at the specified path.
      Parameters:
      path - the secret path, must not be null or empty.
      Returns:
      VaultMetadataResponse
    • put

      Mono<Void> put(String path, VaultMetadataRequest body)
      Update the secret metadata, or creates new metadata if not present.
      Parameters:
      path - the secret path, must not be null or empty.
      body - VaultMetadataRequest
      Returns:
      a Mono signalling completion or an error.
    • delete

      Mono<Void> delete(String path)
      Permanently delete the key metadata and all version data for the specified key. All version history will be removed.
      Parameters:
      path - the secret path, must not be null or empty.
      Returns:
      a Mono signalling completion or an error.