From 850ccbf1c7c4ebba28b1971bafae0a6ba922b7c7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 16 Jan 2021 20:03:00 +0100 Subject: secretmgr.py does quite a few things! --- app/plume/secrets/plume/pgsql_pw | 1 + app/plume/secrets/plume/pgsql_pw.sh | 2 -- app/plume/secrets/plume/secret_key | 1 + app/plume/secrets/plume/secret_key.sh | 2 -- 4 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 app/plume/secrets/plume/pgsql_pw delete mode 100755 app/plume/secrets/plume/pgsql_pw.sh create mode 100644 app/plume/secrets/plume/secret_key delete mode 100755 app/plume/secrets/plume/secret_key.sh (limited to 'app/plume/secrets') 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 -- cgit v1.2.3