aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cms/secrets.toml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-02-27 18:42:38 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-02-27 18:42:38 +0100
commit4ef04f7971e6785a7407e41de41c55fe6a87cfc4 (patch)
treed3ba83c1dd1e4e1fba9e9157623a4652e3c601d4 /cluster/prod/app/cms/secrets.toml
parenta4eb0b2b56fdbe416077fdc77b76cd9efe98814d (diff)
downloadnixcfg-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.toml17
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...'
+