Open tomki99 opened 4 years ago
Have you changed parameters after switching to kv(v2)? https://github.com/JetBrains/teamcity-hashicorp-vault-plugin/issues/11#issuecomment-427838429
Which parameter needs to be changed? I've remove kv v1 and define kv v2 in the same path. Another scenario tried also - kv1 in secret/data, kv2 in secret/values + additional rule in policy (adding the new path) and still no change. kv1 can be retrieved while kv2 now
As VladRassokhin said ( many thanks ), vault secret path for v2 type must be typed as /data/ suffix ie - engine_name/oursecret -> engine_name/data/oursecret in TC. Looks like in Vault API.
I ran into this issue, but didn't have a policy. Once I attached a policy to the role, this issue was resolved for me.
Whenever I'm enabling kv(v1) in particular path all secrets retrieves properly
but if I change the kv version to v2 (disable kv1 and enable kv2 in the same path, or simply enable kv2 in another path) it doesn't work and the only messages are as follow:
The policy is: