Hey there,

Two questions:

Query 1:
How does prometheus basic_auth exactly work on targets ? (basically 
security of scrape target)? Would be helpful if you could tell the same in 
detail. 

Query 2:
Based on my exploration on security over Prometheus target, we can either 
give username/password (in file also),  or bearer token. 

Is it possible to configure prometheus in such a way that it does one time 
login, basically post a curl request with *username and password as payload* 
on a give URL like* <ip>:<port>/login*, which in turn gives token and 
prometheus uses the same token every time it fetches metrics from the 
target. 

Thanks,
Guna

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/bbe2c1b2-6244-4b3b-92d6-4783d1bf2d74n%40googlegroups.com.

Reply via email to