Skip to content

Commit 3265120

Browse files
committed
Add doc about authentication and authorization
Signed-off-by: Bryan Boreham <[email protected]>
1 parent b99a0d3 commit 3265120

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/auth.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Authentication and Authorisation
2+
3+
All Cortex components take the tenant ID from a header `X-Scope-OrgID`
4+
on each request. They trust this value completely: if you need to
5+
protect your Cortex installation from accidental or malicious calls
6+
then you must add an additional layer of protection.
7+
8+
Typically this means you run Cortex behind a reverse proxy, and ensure
9+
that all callers, both machines sending data over the remote_write
10+
interface and humans sending queries from GUIs, supply credentials
11+
which identify them and confirm they are authorised.
12+
13+
When configuring the remote_write API in Prometheus there is no way to
14+
add extra headers. The http user and password fields can be user to
15+
convey tenant ID and/or authentication credentials.

0 commit comments

Comments
 (0)