Package org.springframework.vault.core
Interface VaultKeyValueMetadataOperations
public interface VaultKeyValueMetadataOperations
Interface that specifies kv metadata related operations.
- Since:
- 2.3
- Author:
- Zakaria Amine
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Permanently delete the key metadata and all version data for the specified key.Retrieve the metadata and versions for the secret at the specified path.void
put
(String path, VaultMetadataRequest body) 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
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
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.
-