I’m using keyctl package - github.com/jsipprell/keyctl - Go Packages to create 2 named keyrings, one anchored to the process keyring, another anchored to the session keyring. I can share the code here if needed but basically I’m creating keys (anchoring one to the process keyring & another to the session keyring) and then properly referencing them in the config file, yet somehow telegraf always fails with the following error
retrieving resolver failed: linking secrets failed: resolving “@{processeyringFIVE:db_password}” failed: The specified item could not be found in the keyring
I want to create a keyring and some keys via a Go program (using the aforementioned Go package) and then launch telegraf with a config file set up to use the os secretstore such that it uses the keyring & keys that I’ve created, I’m right now exploring with process & session keyrings but they always run into the aforementioned error.
Any help resolving this error or providing me with an alternative solution is highly appreciated
Thanks.