Closed jackbenimble999 closed 1 year ago
This is totally out of scope for Telegraf. The secretstores.os
plugin uses the operating system's implementation, i.e. Linux kernel keyring, Windows Credential Manager or MacOS' Keychain, depending on the OS. Those operating systems DO NOT require passwords, so there is no way to add a password there!
You can use secretstores.jose
to provide a persistent, password-protected secret-store.
Closing as this is not in the hands of Telegraf and will never be.
Use Case
For security reasons, please add the capability to have a password required to view the contents of the secret store for secretstores.os.
Expected behavior
Actual behavior
Additional info
[[secretstores.os]] id = "os_secrets"
[[inputs.mqtt_consumer]] servers = ["tcp://127.0.0.1:1883"] topics = [ "influxtopic/#", ] qos = 2 max_undelivered_messages = 1000 persistent_session = true client_id = "InfluxDataStandalone" username = "admin" password = "@{os_secrets:my_secret_password}" data_format = "influx"
[[outputs.influxdb_v2]] urls = ["http://127.0.0.1:8086"] token = "@{os_secrets:my_secret_token}" organization = "MY_ORK" bucket = "events"