hvac package is still redirecting to the v1 version #973
Replies: 2 comments
-
Hi @surajtikoo ! The I don't have visibility into your system, but if I had t guess I might say that in your path If that's the case, it won't work that way, you must retrieve the |
Beta Was this translation helpful? Give feedback.
-
@surajtikoo if 'kv-test/test' is mount_point/secret , then you need to read it as client.secrets.kv.v2.read_secret(path='test', mount_point='kv_test') if you omit mount_point, then it will try to read from default _mount point , that can be V1 ... |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I am using the hvac package with my python code to read the secrets however the secrets are placed under the v2 version.
I am using the 1.1.0 version for hvac. When i am truing to read the secrets the system is redirecting to the V1 irrespective of giving the V2 path.
The system is giving the error
"errorMessage": "1 error occurred:\n\t* permission denied\n\n, on get https://xxxxxxxx/v1/secret/data/kv-test/test",
The call is still going to the V1 version which is a bit strange to me.
Beta Was this translation helpful? Give feedback.
All reactions