mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-18 11:29:26 +03:00
b66626f9c4
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
9 lines
296 B
Python
9 lines
296 B
Python
"""Utility script to generate a config for CI runs"""
|
|
from authentik.providers.oauth2.generators import generate_client_id
|
|
from yaml import safe_dump
|
|
|
|
with open("local.env.yml", "w") as _config:
|
|
safe_dump({
|
|
"secret_key": generate_client_id()
|
|
}, _config, default_flow_style=False)
|