spring-projects / spring-vault

Provides familiar Spring abstractions for HashiCorp Vault
https://spring.io/projects/spring-vault
Apache License 2.0
283 stars 186 forks source link

Support for deleting metadata and secrets #801

Closed Chen-hao-Huang closed 1 year ago

Chen-hao-Huang commented 1 year ago

is VaultKeyValueMetadataOperations removed in current version 3.0.2? I am trying to permanently destroy all versions and metadata under a path, is there an equivalent call that can destroy everything under a path?

          Support for deleting Key-Value metadata was introduced with #432.

Originally posted by @mp911de in https://github.com/spring-projects/spring-vault/issues/568#issuecomment-659925339

mp911de commented 1 year ago

No, why should it be removed? You can access metadata operations via VaultOperations.opsForVersionedKeyValue(…).opsForKeyValueMetadata().

The operations map to what is possible with the CLI.