We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5889338 commit 6f75140Copy full SHA for 6f75140
docs/content/doc/usage/command-line.md
@@ -95,3 +95,19 @@ in the current directory.
95
- Examples:
96
- `gitea dump`
97
- `gitea dump --verbose`
98
+
99
+#### generate
100
101
+Generates random values and tokens for usage in configuration file. Useful for generating values
102
+for automatic deployments.
103
104
+- Commands:
105
+ - `secret`:
106
+ - Options:
107
+ - `INTERNAL_TOKEN`: Token used for an internal API call authentication.
108
+ - `LFS_JWT_SECRET`: LFS authentication secret.
109
+ - `SECRET_KEY`: Global secret key.
110
+ - Examples:
111
+ - `gitea generate secret INTERNAL_TOKEN`
112
+ - `gitea generate secret LFS_JWT_SECRET`
113
+ - `gitea generate secret SECRET_KEY`
0 commit comments