forked from coop-cloud/docs.coopcloud.tech
document length hack
This commit is contained in:
parent
5312f4a81b
commit
165dc5b9cb
|
@ -443,3 +443,22 @@ If you want to get the highest rating on SSL certs, you can use the following tr
|
|||
```
|
||||
|
||||
See [this PR](https://git.coopcloud.tech/coop-cloud/traefik/pulls/8/files) for the technical details
|
||||
|
||||
## Tweaking secret generation length
|
||||
|
||||
It is possible to tell `abra` which length it should generate secrets with from your recipe config.
|
||||
|
||||
You do this by adding a inline comment to the secret definition in the `.env.sample` / `.env` file.
|
||||
|
||||
Here are examples from the gitea recipe:
|
||||
|
||||
```
|
||||
SECRET_INTERNAL_TOKEN_VERSION=v1 # length=105
|
||||
SECRET_JWT_SECRET_VERSION=v1 # length=43
|
||||
SECRET_SECRET_KEY_VERSION=v1 # length=64
|
||||
```
|
||||
|
||||
When using this length specifier, `abra` will not use the "easy to remember
|
||||
word" styl generator but instead a string of chars to match the exact length.
|
||||
This can be useful if you have to generate "key" style values instead of
|
||||
passwords which admins have to type out in database shells.
|
||||
|
|
Loading…
Reference in New Issue