The syntax in your example is not supported. The plugin you are using (and most plugins) are written in Go and the strings are Go string literals. The environment ${variable} syntax in your example would only work with a bash string, and would need to be run through a bash interpreter, which is not the case given the plugin is a Go program.
If you want to source plugin settings from secrets, you would do the following: