public interface VaultKeyValueOperations extends VaultKeyValueOperationsSupport
VaultVersionedKeyValueOperations in such cases instead.VaultVersionedKeyValueOperations,
VaultKeyValueOperationsSupport.KeyValueBackendVaultKeyValueOperationsSupport.KeyValueBackend| Modifier and Type | Method and Description |
|---|---|
VaultResponse |
get(String path)
Read the secret at
path. |
<T> VaultResponseSupport<T> |
get(String path,
Class<T> responseType)
Read the secret at
path. |
boolean |
patch(String path,
Map<String,?> patch)
Update the secret at
path without removing the existing secrets. |
void |
put(String path,
Object body)
Write the secret at
path. |
delete, getApiVersion, list@Nullable VaultResponse get(String path)
path.get in interface VaultKeyValueOperationsSupportpath - must not be null.@Nullable <T> VaultResponseSupport<T> get(String path, Class<T> responseType)
path.path - must not be null.responseType - must not be null.boolean patch(String path, Map<String,?> patch)
path without removing the existing secrets. Requires a
Key-Value version 2 mount to ensure an atomic update.path - must not be null.patch - must not be null.true if the patch operation is successful, false otherwise.Copyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.