quarkiverse / quarkus-vault

Quarkus HashiCorp Vault extension
Apache License 2.0
19 stars 26 forks source link

Vault Rest API ERROR V2 #197

Closed MehmetNuri closed 11 months ago

MehmetNuri commented 11 months ago

Hi,

I am using Vault v2 KV engine. There is no problem over the Rest API, but the following error is received on the plugin. When I examined the VaultInternalKvV2SecretEngine file, I saw that the request was going wrong. The test I did through Postman is below.

Can you please help me to solve this problem?

Thank you,

Appication Properties

quarkus.vault.url=http://127.0.0.1:8200
quarkus.vault.kv-secret-engine-version=2
quarkus.vault.secret-config-kv-path=myapps/service-account-1
quarkus.vault.authentication.client-token=hvs.ep77dSrSPXB12JaA98dNLu37

Error

Caused by: VaultClientException{operationName='VAULT [KV (v2)] Get Secret', requestPath='/v1/secret/data/myapps/service-account-1', status=404, body='{"errors":["no handler for route \"secret/data/myapps/service-account-1\". route entry not found."]}
'}

image