Credentials should come from the credentials plugin. That way I don't have to put the password in plain text in the configuration-as-code.
This is an important security issue. Currently the password is exposed directly in the config as well as whatever code (e.g. JCasC) is being used to deploy and configure Jenkins.
https://github.com/jenkinsci/influxdb-plugin/pull/110 created to resolve this.
PR merged. Will be available in next release.