Interface VaultKeyValueMetadataOperations


public interface VaultKeyValueMetadataOperations
Interface that specifies kv metadata related operations.
Since:
2.3
Author:
Zakaria Amine
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(String path)
    Permanently delete the key metadata and all version data for the specified key.
    get(String path)
    Retrieve the metadata and versions for the secret at the specified path.
    void
    Update the secret metadata, or creates new metadata if not present.
  • 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

      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
    • delete

      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.