Use Case
Hi, according to the telegraf secrets --help page, the summary says that that "secrets" subcommand is also for removing secrets, which is seemingly not the case, as there are only the following subcommands to the secrets subcommand:
.\telegraf.exe secrets --help
NAME:
Telegraf secrets - commands for listing, adding and removing secrets on all known secret stores
USAGE:
Telegraf secrets [command options]
COMMANDS:
list list known secrets and secret stores
get retrieves value of given secret from given store
set create or modify a secret in the given store
help, h Shows a list of commands or help for one command
OPTIONS:
--help, -h show help
That feature would be pretty helpful for a clean removal/uninstall of telegraf from a system.
It is indded also possible to write a powershell script doing that with cmdkey, but would still be great quality of life imrovement nonetheless.
Expected behavior
it would be neat to be able to remove secrets by key and to delete --all secrets that you find using the list subcommand given a config file or config directory.
Actual behavior
there is not such remove subcommand, yet.
Additional info
Telegraf 1.39.1 (git: HEAD@9a8b2022)
Windows AMD64
Use Case
Hi, according to the telegraf secrets --help page, the summary says that that "secrets" subcommand is also for removing secrets, which is seemingly not the case, as there are only the following subcommands to the secrets subcommand:
That feature would be pretty helpful for a clean removal/uninstall of telegraf from a system.
It is indded also possible to write a powershell script doing that with cmdkey, but would still be great quality of life imrovement nonetheless.
Expected behavior
it would be neat to be able to
removesecrets by key and to delete--allsecrets that you find using thelistsubcommand given a config file or config directory.Actual behavior
there is not such
removesubcommand, yet.Additional info
Telegraf 1.39.1 (git: HEAD@9a8b2022)
Windows AMD64