public interface VaultKeyValueMetadataOperations
Modifier and Type | Method and Description |
---|---|
void |
delete(String path)
Permanently delete the key metadata and all version data for the specified key.
|
VaultMetadataResponse |
get(String path)
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.
|
@Nullable VaultMetadataResponse get(String path)
path
- the secret path, must not be null or empty.VaultMetadataResponse
void put(String path, VaultMetadataRequest body)
path
- the secret path, must not be null or empty.body
- VaultMetadataRequest
void delete(String path)
path
- the secret path, must not be null or empty.Copyright © 2016–2022 Pivotal Software, Inc.. All rights reserved.