aboutsummaryrefslogtreecommitdiff
path: root/app/plume
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-01-16 20:03:00 +0100
committerAlex Auvolat <alex@adnab.me>2021-01-16 20:03:00 +0100
commit850ccbf1c7c4ebba28b1971bafae0a6ba922b7c7 (patch)
treef5f34bcc35bbe2f5d419d58767fa25b2d404701f /app/plume
parentd4d0b100ad39bf7ae560c2f714b75fdcf47e9a87 (diff)
downloadinfrastructure-850ccbf1c7c4ebba28b1971bafae0a6ba922b7c7.tar.gz
infrastructure-850ccbf1c7c4ebba28b1971bafae0a6ba922b7c7.zip
secretmgr.py does quite a few things!test_reorganize
Diffstat (limited to 'app/plume')
-rw-r--r--app/plume/secrets/plume/pgsql_pw1
-rwxr-xr-xapp/plume/secrets/plume/pgsql_pw.sh2
-rw-r--r--app/plume/secrets/plume/secret_key1
-rwxr-xr-xapp/plume/secrets/plume/secret_key.sh2
4 files changed, 2 insertions, 4 deletions
diff --git a/app/plume/secrets/plume/pgsql_pw b/app/plume/secrets/plume/pgsql_pw
new file mode 100644
index 0000000..978be54
--- /dev/null
+++ b/app/plume/secrets/plume/pgsql_pw
@@ -0,0 +1 @@
+CMD openssl rand -base64 32
diff --git a/app/plume/secrets/plume/pgsql_pw.sh b/app/plume/secrets/plume/pgsql_pw.sh
deleted file mode 100755
index 519a30a..0000000
--- a/app/plume/secrets/plume/pgsql_pw.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-openssl rand -base64 32 > pgsql_pw
diff --git a/app/plume/secrets/plume/secret_key b/app/plume/secrets/plume/secret_key
new file mode 100644
index 0000000..978be54
--- /dev/null
+++ b/app/plume/secrets/plume/secret_key
@@ -0,0 +1 @@
+CMD openssl rand -base64 32
diff --git a/app/plume/secrets/plume/secret_key.sh b/app/plume/secrets/plume/secret_key.sh
deleted file mode 100755
index f4bbee5..0000000
--- a/app/plume/secrets/plume/secret_key.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-openssl rand -base64 32 > secret_key