Dalvany / dalvany-image-panel

Image panel for Grafana
MIT License
16 stars 3 forks source link

Authenticated URL Support #22

Open fifofonix opened 3 years ago

fifofonix commented 3 years ago

Would be great to get authenticated URL support other than by hard-coding credentials into the panel.

Not sure whether there is a way to create a generic grafana http datasource plugin using the proxy stuff here: https://grafana.com/docs/grafana/latest/developers/plugins/add-authentication-for-data-source-plugins/

And then to have this plugin invoke the accompanying proxied API?

Dalvany commented 3 years ago

Hello @fifofonix thanks for reporting the need for this feature.
I've never thought about authentication. I'll try to see how to do that. To read :

Requires to switch to an "app plugin".

Things to dig :

Dalvany commented 3 years ago

Less complex but not secure at all (but at least password won't be shown in grafana) :