spring-projects / spring-vault

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

VaultTransitOperations class does not support functionality to call generate-data-key API #882

Open bullsEye1 opened 1 month ago

bullsEye1 commented 1 month ago

I am using Hashicorp transit secret engine to generate a data key. The API for the same is https://developer.hashicorp.com/vault/api-docs/secret/transit#generate-data-key I am using the spring-vault dependency to call this api but could not find this method in the VaultTransitOperations.java class. Can you help here ?

mp911de commented 1 month ago

Our API doesn't cover all Vault API calls that would be possible. Have you looked into VaultTemplate.read(…) and VaultTemplate.write(…) methods to invoke Vault API that isn't associated with a Java method?