From 91b4ea7ebdfb8ded1da1f995484f1ba8cf54d3ea Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Fri, 14 Oct 2016 14:26:17 -0700 Subject: [PATCH] Mark backup_swift_key option as secret The backup_swift_key StrOpt needs to be marked secret to avoid it from getting printed in the cinder log. Change-Id: I6466aec5fa9001619c310bfb550851b13cc9719b Closes-Bug: #1633623 --- cinder/backup/drivers/swift.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinder/backup/drivers/swift.py b/cinder/backup/drivers/swift.py index 6630a800f58..d47b79970fe 100644 --- a/cinder/backup/drivers/swift.py +++ b/cinder/backup/drivers/swift.py @@ -102,6 +102,7 @@ swiftbackup_service_opts = [ cfg.StrOpt('backup_swift_user', help='Swift user name'), cfg.StrOpt('backup_swift_key', + secret=True, help='Swift key for authentication'), cfg.StrOpt('backup_swift_container', default='volumebackups',