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
This commit is contained in:
Eric Brown 2016-10-14 14:26:17 -07:00
parent 988aa2fd6c
commit 91b4ea7ebd

View File

@ -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',