diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-01-21 14:19:21 +0000 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2016-02-29 14:54:31 -0500 |
commit | b189346eb1784df95ed6fed610411dbf23d19e1f (patch) | |
tree | a5c3aa8ef4ea4dd0a649c0963d0552a126e07258 /util | |
parent | 1bff96064290b2e9594dcbeea967b3d8cc76e2b2 (diff) |
iscsi: add support for getting CHAP password via QCryptoSecret API
The iSCSI driver currently accepts the CHAP password in plain text
as a block driver property. This change adds a new "password-secret"
property that accepts the ID of a QCryptoSecret instance.
$QEMU \
-object secret,id=sec0,filename=/home/berrange/example.pw \
-drive driver=iscsi,url=iscsi://example.com/target-foo/lun1,\
user=dan,password-secret=sec0
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1453385961-10718-4-git-send-email-berrange@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions