aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/postgres/secrets.toml
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/prod/app/postgres/secrets.toml')
-rw-r--r--cluster/prod/app/postgres/secrets.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/cluster/prod/app/postgres/secrets.toml b/cluster/prod/app/postgres/secrets.toml
new file mode 100644
index 0000000..537a72d
--- /dev/null
+++ b/cluster/prod/app/postgres/secrets.toml
@@ -0,0 +1,10 @@
+[service_users."replicator"]
+password_secret = "postgres/keeper/pg_repl_pwd"
+username_secret = "postgres/keeper/pg_repl_username"
+
+
+[secrets."postgres/keeper/pg_su_pwd"]
+type = 'command'
+command = 'openssl rand -base64 15'
+description = 'postgres superuser password'
+