summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorIan Main <imain@redhat.com>2012-07-26 12:57:57 -0700
committerIan Main <imain@redhat.com>2012-07-26 18:40:18 -0700
commit58cd52624b50476ed5ed1c5c0ba7cb1b4d7ba66d (patch)
tree46d2855f3252ac5ae1082a886300641104c6d724 /install.sh
parente646e66728e5ca9f627c56137a40c74a195060a1 (diff)
downloadheat-58cd52624b50476ed5ed1c5c0ba7cb1b4d7ba66d.tar.gz
Add encryption support for authentication information in db.
This patch uses an encryption key generated in install.sh to perform symmetrical encryption on sensitive authentication information stored in the database for HA operations. Change-Id: Ifd09f3f566ba3ebd941a6f453953576011b518b9 Signed-off-by: Ian Main <imain@redhat.com>
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index b58f7153a..946198b2b 100755
--- a/install.sh
+++ b/install.sh
@@ -20,6 +20,8 @@ do
elif [ -f $CONF_DIR/$f ]; then
echo "not copying over $CONF_DIR/$f"
diff -u $CONF_DIR/$f $f
+ elif [ $f = 'heat-engine.conf' ]; then
+ cat $f | sed s/%ENCRYPTION_KEY%/`/bin/uuidgen`/ > $CONF_DIR/$f
else
cp $f $CONF_DIR
fi