Access vault API from plugin

Is it possible to interact with vault API from a plugin? For example use Logical API, read and write in a path?

I want to write to this path database/config/My_Config_name from the plugin itself.

You should be able to do so via the api libraries. They are available in most languages, https://www.vaultproject.io/api-docs/libraries/

Hi, @fortman Thanks for your suggestion.
But I’m using golang library for developing a plugin. what I want to do is that after my plugin run I need to change a configuration in this path database/config/My_Config_name, my problem is authenticating against the vault server from the plugin. I’ve read this page https://www.vaultproject.io/docs/internals/plugins/ and I believe I can use this api.VaultPluginTLSProvider API to auth against vault server but I couldn’t find any snippet for it.