You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default all resources are public.
To enable authorizaton set authorizaton config entry to authorizaton provider. prometheus_httpd comes with basic auth provider with configuration shortcuts:
%% enable basic auth
{authorizaton, {basic, Login, Password}}
%% enable basic auth with external credentials
%% CredentialsProvider is Callable or {Callable, Args}
%% Callable is Fun/2, Module exporting authorize/2, or {Module, authorize/2}
{authorizaton, {basic, CredentialsProvider}}
%% custom authorization provider
%% Provider = is Callable or {Callable, Args}
%% Callable is Fun/1, Module exporting authorize/1, or {Module, authorize/1}
{authorizaton, Provider}
The text was updated successfully, but these errors were encountered:
By default all resources are public.
To enable authorizaton set
authorizaton
config entry to authorizaton provider.prometheus_httpd
comes with basic auth provider with configuration shortcuts:The text was updated successfully, but these errors were encountered: