diff options
author | Ian Main <imain@redhat.com> | 2012-07-26 12:57:57 -0700 |
---|---|---|
committer | Ian Main <imain@redhat.com> | 2012-07-26 18:40:18 -0700 |
commit | 58cd52624b50476ed5ed1c5c0ba7cb1b4d7ba66d (patch) | |
tree | 46d2855f3252ac5ae1082a886300641104c6d724 /install.sh | |
parent | e646e66728e5ca9f627c56137a40c74a195060a1 (diff) | |
download | heat-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-x | install.sh | 2 |
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 |