mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
Add bin/fernetkey that generates a key for the OIDC_STORE_REFRESH_TOKEN_KEY setting. Signed-off-by: Fabre Florian <ffabre@hybird.org>
6 lines
251 B
Bash
Executable file
6 lines
251 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# shellcheck source=bin/_config.sh
|
|
source "$(dirname "${BASH_SOURCE[0]}")/_config.sh"
|
|
|
|
_dc_run app-dev python -c 'from cryptography.fernet import Fernet;import sys; sys.stdout.write("\n" + Fernet.generate_key().decode() + "\n");'
|