aboutsummaryrefslogtreecommitdiff
path: root/app/postgres
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-01-16 17:37:34 +0100
committerAlex Auvolat <alex@adnab.me>2021-01-16 17:37:34 +0100
commitd4d0b100ad39bf7ae560c2f714b75fdcf47e9a87 (patch)
tree6ca1be19d3b15c61cdb3fe4de448c20fc12b769f /app/postgres
parentc74dc92febd1841c8ea5ff31caab0f941d57527d (diff)
downloadinfrastructure-d4d0b100ad39bf7ae560c2f714b75fdcf47e9a87.tar.gz
infrastructure-d4d0b100ad39bf7ae560c2f714b75fdcf47e9a87.zip
Document secrets and add stub utility to manage them
Diffstat (limited to 'app/postgres')
-rw-r--r--app/postgres/secrets/postgres/keeper/pg_repl_pwd1
-rw-r--r--app/postgres/secrets/postgres/keeper/pg_repl_pwd.sample0
-rw-r--r--app/postgres/secrets/postgres/keeper/pg_repl_username1
-rw-r--r--app/postgres/secrets/postgres/keeper/pg_repl_username.sample0
-rw-r--r--app/postgres/secrets/postgres/keeper/pg_su_pwd1
-rw-r--r--app/postgres/secrets/postgres/keeper/pg_su_pwd.sample0
6 files changed, 3 insertions, 0 deletions
diff --git a/app/postgres/secrets/postgres/keeper/pg_repl_pwd b/app/postgres/secrets/postgres/keeper/pg_repl_pwd
new file mode 100644
index 0000000..ae0c229
--- /dev/null
+++ b/app/postgres/secrets/postgres/keeper/pg_repl_pwd
@@ -0,0 +1 @@
+SERVICE_PASSWORD replicator
diff --git a/app/postgres/secrets/postgres/keeper/pg_repl_pwd.sample b/app/postgres/secrets/postgres/keeper/pg_repl_pwd.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/postgres/secrets/postgres/keeper/pg_repl_pwd.sample
+++ /dev/null
diff --git a/app/postgres/secrets/postgres/keeper/pg_repl_username b/app/postgres/secrets/postgres/keeper/pg_repl_username
new file mode 100644
index 0000000..58e6e46
--- /dev/null
+++ b/app/postgres/secrets/postgres/keeper/pg_repl_username
@@ -0,0 +1 @@
+CONST replicator
diff --git a/app/postgres/secrets/postgres/keeper/pg_repl_username.sample b/app/postgres/secrets/postgres/keeper/pg_repl_username.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/postgres/secrets/postgres/keeper/pg_repl_username.sample
+++ /dev/null
diff --git a/app/postgres/secrets/postgres/keeper/pg_su_pwd b/app/postgres/secrets/postgres/keeper/pg_su_pwd
new file mode 100644
index 0000000..a193b9e
--- /dev/null
+++ b/app/postgres/secrets/postgres/keeper/pg_su_pwd
@@ -0,0 +1 @@
+SERVICE_PASSWORD postgres
diff --git a/app/postgres/secrets/postgres/keeper/pg_su_pwd.sample b/app/postgres/secrets/postgres/keeper/pg_su_pwd.sample
deleted file mode 100644
index e69de29..0000000
--- a/app/postgres/secrets/postgres/keeper/pg_su_pwd.sample
+++ /dev/null