diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-27 18:42:38 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-27 18:42:38 +0100 |
commit | 4ef04f7971e6785a7407e41de41c55fe6a87cfc4 (patch) | |
tree | d3ba83c1dd1e4e1fba9e9157623a4652e3c601d4 /cluster/prod/app/cms/secrets.toml | |
parent | a4eb0b2b56fdbe416077fdc77b76cd9efe98814d (diff) | |
download | nixcfg-4ef04f7971e6785a7407e41de41c55fe6a87cfc4.tar.gz nixcfg-4ef04f7971e6785a7407e41de41c55fe6a87cfc4.zip |
add teabag (for static cms)
Diffstat (limited to 'cluster/prod/app/cms/secrets.toml')
-rw-r--r-- | cluster/prod/app/cms/secrets.toml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cluster/prod/app/cms/secrets.toml b/cluster/prod/app/cms/secrets.toml new file mode 100644 index 0000000..115f3e7 --- /dev/null +++ b/cluster/prod/app/cms/secrets.toml @@ -0,0 +1,17 @@ +# HTTP Session Encryption Key +[secrets."cms/teabag/session"] +type = 'command' +rotate = true +command = 'openssl rand -base64 32' + +# Gitea Application Token +[secrets."cms/teabag/gitea_key"] +type = 'user' +description = 'Gitea Application Key' +example = '4fea0...' + +[secrets."cms/teabag/gitea_secret"] +type = 'user' +description = 'Gitea Secret Key' +example = 'gto_bz6f...' + |