mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-08 02:50:31 +00:00
Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826)
This commit is contained in:
1 parent
0e786302b2
commit
ada0d7dd5a
1 file changed
+2
-2
@@ -161,11 +161,11 @@ for automatic deployments.
|
|||||||
- `secret`:
|
- `secret`:
|
||||||
- Options:
|
- Options:
|
||||||
- `INTERNAL_TOKEN`: Token used for an internal API call authentication.
|
- `INTERNAL_TOKEN`: Token used for an internal API call authentication.
|
||||||
- `LFS_JWT_SECRET`: LFS authentication secret.
|
- `JWT_SECRET`: LFS & OAUTH2 JWT authentication secret (LFS_JWT_SECRET is aliased to this option for backwards compatibility).
|
||||||
- `SECRET_KEY`: Global secret key.
|
- `SECRET_KEY`: Global secret key.
|
||||||
- Examples:
|
- Examples:
|
||||||
- `gitea generate secret INTERNAL_TOKEN`
|
- `gitea generate secret INTERNAL_TOKEN`
|
||||||
- `gitea generate secret LFS_JWT_SECRET`
|
- `gitea generate secret JWT_SECRET`
|
||||||
- `gitea generate secret SECRET_KEY`
|
- `gitea generate secret SECRET_KEY`
|
||||||
|
|
||||||
#### keys
|
#### keys
|
||||||
|
|||||||
Reference in new issue
Block a user