Rauthy: en kortlivet nøkkel ved første start, til klientene #5
No files matched your search
@@ -72,6 +72,11 @@ jobs:
|
|||||||
RAUTHY_ENC_KEY: ${{ secrets.RAUTHY_ENC_KEY }}
|
RAUTHY_ENC_KEY: ${{ secrets.RAUTHY_ENC_KEY }}
|
||||||
RAUTHY_SECRET_RAFT: ${{ secrets.RAUTHY_SECRET_RAFT }}
|
RAUTHY_SECRET_RAFT: ${{ secrets.RAUTHY_SECRET_RAFT }}
|
||||||
RAUTHY_SECRET_API: ${{ secrets.RAUTHY_SECRET_API }}
|
RAUTHY_SECRET_API: ${{ secrets.RAUTHY_SECRET_API }}
|
||||||
|
# Optional, for Rauthy's very first start only: a short-lived key
|
||||||
|
# (base64 JSON, README.md "Rauthy") that makes the clients. Rauthy
|
||||||
|
# reads it into an empty database and never again.
|
||||||
|
RAUTHY_BOOTSTRAP_API_KEY: ${{ secrets.RAUTHY_BOOTSTRAP_API_KEY }}
|
||||||
|
RAUTHY_BOOTSTRAP_API_KEY_SECRET: ${{ secrets.RAUTHY_BOOTSTRAP_API_KEY_SECRET }}
|
||||||
OIDC_ISSUER: ${{ vars.OIDC_ISSUER }}
|
OIDC_ISSUER: ${{ vars.OIDC_ISSUER }}
|
||||||
RAUTHY_API_KEY: ${{ secrets.RAUTHY_API_KEY }}
|
RAUTHY_API_KEY: ${{ secrets.RAUTHY_API_KEY }}
|
||||||
RAUTHY_LANGUAGE: ${{ vars.RAUTHY_LANGUAGE }}
|
RAUTHY_LANGUAGE: ${{ vars.RAUTHY_LANGUAGE }}
|
||||||
@@ -157,6 +162,8 @@ jobs:
|
|||||||
BOOTSTRAP_ADMIN_EMAIL=$SEED_ADMIN_EMAIL
|
BOOTSTRAP_ADMIN_EMAIL=$SEED_ADMIN_EMAIL
|
||||||
RAUTHY_ADMIN_EMAIL=$SEED_ADMIN_EMAIL
|
RAUTHY_ADMIN_EMAIL=$SEED_ADMIN_EMAIL
|
||||||
EVENT_EMAIL=$SEED_ADMIN_EMAIL
|
EVENT_EMAIL=$SEED_ADMIN_EMAIL
|
||||||
|
BOOTSTRAP_API_KEY=$RAUTHY_BOOTSTRAP_API_KEY
|
||||||
|
BOOTSTRAP_API_KEY_SECRET=$RAUTHY_BOOTSTRAP_API_KEY_SECRET
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -166,6 +166,7 @@ Run workflow**. Set them with `gt` (`gt variable set NAME --body ...`,
|
|||||||
| `RAUTHY_HOST` | variable | repo | optional, Rauthy (see [Rauthy](#rauthy)): `konto.tomtervel.no` |
|
| `RAUTHY_HOST` | variable | repo | optional, Rauthy (see [Rauthy](#rauthy)): `konto.tomtervel.no` |
|
||||||
| `RAUTHY_ENC_KEY`, `RAUTHY_SECRET_RAFT`, `RAUTHY_SECRET_API` | secret | repo | optional, Rauthy's own: made once, never changed (the key encrypts its database) |
|
| `RAUTHY_ENC_KEY`, `RAUTHY_SECRET_RAFT`, `RAUTHY_SECRET_API` | secret | repo | optional, Rauthy's own: made once, never changed (the key encrypts its database) |
|
||||||
| `OIDC_ISSUER` | variable | repo | optional: `https://konto.tomtervel.no/auth/v1/` moves the site's and the chat's sign-in to Rauthy; unset, Kanidm |
|
| `OIDC_ISSUER` | variable | repo | optional: `https://konto.tomtervel.no/auth/v1/` moves the site's and the chat's sign-in to Rauthy; unset, Kanidm |
|
||||||
|
| `RAUTHY_BOOTSTRAP_API_KEY`, `RAUTHY_BOOTSTRAP_API_KEY_SECRET` | secret | repo | optional, Rauthy's first start only: a short-lived key (base64 of `{"name","exp","access"}`, secret 64+ alphanumerics) that makes the OIDC clients through the API; read into an empty database, ignored after |
|
||||||
| `RAUTHY_API_KEY`, `RAUTHY_LANGUAGE` | secret, variable | repo | optional: portal makes accounts in Rauthy (`<name>$<secret>`, made in Rauthy's admin), in `nb` |
|
| `RAUTHY_API_KEY`, `RAUTHY_LANGUAGE` | secret, variable | repo | optional: portal makes accounts in Rauthy (`<name>$<secret>`, made in Rauthy's admin), in `nb` |
|
||||||
|
|
||||||
A variable is printed wherever a workflow echoes it, and this repo's run
|
A variable is printed wherever a workflow echoes it, and this repo's run
|
||||||
|
|||||||
Reference in new issue
Block a user