Class VaultMetadataRequest

java.lang.Object
org.springframework.vault.support.VaultMetadataRequest

public class VaultMetadataRequest extends Object
Value object to bind Vault HTTP kv metadata update API requests.
Since:
2.3
Author:
Zakaria Amine, Jeroen Willemsen
See Also:
  • Method Details

    • builder

    • isCasRequired

      public boolean isCasRequired()
      Returns:
      If true all keys will require the cas parameter to be set on all write requests.
    • getCustomMetadata

      @Nullable public Map<String,String> getCustomMetadata()
    • getDeleteVersionAfter

      public String getDeleteVersionAfter()
      Returns:
      the deletion_time for all new versions written to this key. Accepts Go duration format string.
    • getMaxVersions

      public int getMaxVersions()
      Returns:
      The number of versions to keep per key.