api.client.Logical().Read(path)
This works fine for KV version 1, but it fails for KV version 2. Do you know of any API lib for KV2? Is there a plan to add it soon to vaults standard golang API (https://github.com/hashicorp/vault/tree/master/api)?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/03f6014b-cc9a-485f-b31b-93561e9039ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The API client works with KVv2 but the API paths are slightly different for v2.Check out the API docs here:Chris
On Jul 23, 2018, 9:22 AM -0400, Karl Fischer <fish...@gmail.com>, wrote:
I use a custom tool which uses vault's golang API https://github.com/hashicorp/vault/tree/master/api to read/write secrets from KV, like
api.client.Logical().Read(path)
This works fine for KV version 1, but it fails for KV version 2. Do you know of any API lib for KV2? Is there a plan to add it soon to vaults standard golang API (https://github.com/hashicorp/vault/tree/master/api)?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/03f6014b-cc9a-485f-b31b-93561e9039ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/000a4ea1-42d2-4f7f-ad5d-1288c821d272%40Spark.To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+unsubscribe@googlegroups.com.