Hi, is there any Go sdk or example for implementing public cloud providers secret engines in Golang?
Since Vault already ships with secrets engines for AWS, Azure, and GCP, I guess you could consider those to be examples?
?
My question is about Go sdk, I know these examples but I need to implement them in Go.
They’re already implemented in Go
can you please provide me a link or any screenshot?
Thanks for sharing. Do you know any example usage for it? I have no idea where to start use it.
I already posted documentation links in my first reply.
I am sorry but your first reply is documentation to use them in CLI not in Go
You said you wanted to write your own secrets engine, so I pointed you to the existing secrets engines that you could read the source code of.
No, I am sorry its my bad. I just want to use these engines in my Go app.
Then you can just call their HTTP APIs using the HTTP client of your choice.
If you want to use the github.com/hashicorp/vault/api
client, then calls such as client.Logical().Read("some/path")
and client.Logical().Write("some/path", someMapOfParams)
are provided for calling arbitrary Vault APIs that don’t have dedicated wrapper functions.