Commit 0dd4e640 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Documenta acceso mediante token

parent 4dc69345
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -15,3 +15,11 @@ When updating a dashboard via JSON Model (copy & paste), you have to pay attenti
* Set `version` field to current version number of the dashboard you are updating (Grafana will add +1 automatically).

These values will be different tipically when updating from `dev` to `pro` environment, for example.

## Embed private dashboard

If you want to embed a dashboard but it has restricted access, you can use service account authentication.

This deployment have configuration to expose a pre-authorized endpoint, using service account token at subdomain (set by `${REDMIC_AUTH_TOKEN}`). Endpoint is generated with `${TRAEFIK_SUBDOMAIN}-${REDMIC_AUTH_TOKEN}.${PUBLIC_HOSTNAME}`.

Using this endpoint, only users who know this token will have access to a restricted dashboard when embedded into any subdomain of `${PUBLIC_HOSTNAME}`.