meichthys / uptime_kuma

Uptime Kuma HACS integration
110 stars 23 forks source link

Does meichthys/uptime_kuma support the API keys yet? #45

Closed VNRARA closed 1 year ago

VNRARA commented 1 year ago

Does meichthys/uptime_kuma support the API keys yet?

(I couldn't find somewhere else to ask this, srry)

meichthys commented 1 year ago

No, just the public /metrics endpoint.

VNRARA commented 1 year ago

Let me put it this way: Can I enable the API keys and will metrics keep working with auth? Was a little unsure since I couldn't log into metrics properly when I filled the problem and it so happened to be that I had created an API key. (deleted the whole instance and restarted since than so I'm unsure.)

meichthys commented 1 year ago

O don't see why enabling the api would remove metrics. Mestrics is a public endpoint and should exist regardless of the api being enabled. That being said I haven't tried using the api so I'm not 100% sure.

VNRARA commented 1 year ago

Since browsing to /metrics directly asks me to fill in browser dialog credentials which are the same as the ones from /dashboard. I might test and let you know.

meichthys commented 1 year ago

Ok yes it does actually look like the metrics endpoint is authenticated. I must have been thinking of a much older version. Yoh should still be fine to enable the api afaik