getting a "[Deprecated] the use of password field is deprecated. Please use secureJsonData.password" warning
See original GitHub issueI provision the JSON API plugin. I recently saw following warning:
logger=provisioning.datasources t=2022-03-14T11:59:30.55+0000 lvl=warn msg="[Deprecated] the use of password field is deprecated. Please use secureJsonData.password" datasourcename="VWsFriend Live"
I tried to move the password to secureJsonData (this is also how it works for e.g. postgres. But then the password is not used anymore. I guess the plugin needs to support putting the password to secureJsonData: https://grafana.com/docs/grafana/latest/developers/plugins/add-authentication-for-data-source-plugins/
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
external Database Definition with secureJsonData ... - GitHub
For one definition use the field "datasources.secureJsonData.basicAuthPassword" for the password and for the other the field "datasources.
Read more >Provision Grafana | Grafana documentation
Describes provisioning settings for Grafana using configuration files. ... url: http://localhost:$PORT user: $USER secureJsonData: password: $PASSWORD.
Read more >403 Forbidden error shows for all the graphs in each grafana ...
... open, Bug 2037891: Reverting the secureJsonData change for the grafana password ... lvl=warn msg="[Deprecated] the use of basicAuthPassword field is ...
Read more >gapi - Go Packages
SaveDashboard is a deprecated method for saving a Grafana dashboard. Use NewDashboard. Deprecated: Use NewDashboard instead.
Read more >grafana_data_source | Resources | grafana/grafana
basic_auth_password (String, Sensitive, Deprecated) Basic auth password. Deprecated:Use secure_json_data_encoded instead. It supports arbitrary JSON data, and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ahrg! Don’t mind me! Was a typo in my provisioning script
Yes, but you have to install the datasource plugin too in docker e.g. with
ENV GF_INSTALL_PLUGINS="marcusolsson-json-datasource“
or any other way you can imagine.