Hi!
I’m thinking about writing a custom secret engine and i am following the tutorial steps (Build Your Own Plugins | Vault - HashiCorp Learn) and looking at the examples backend source (vault-guides/backend.go at master · hashicorp/vault-guides · GitHub).
Within the struct the store
map is located (vault-guides/backend.go at 74fa928187bee6906cb0ef51c71903b80e4ab1b6 · hashicorp/vault-guides · GitHub)
type backend struct {
*framework.Backend
store map[string][]byte
}
Every operation in this plugin is done on that store
map. However, i wonder how the data can be made persistent using the storage backend. I couldn’t find a reference somewhere that targets that question.
Thanks and Regards
Armin