summaryrefslogtreecommitdiff
path: root/openstackclient/volume/client.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2013-10-07 12:23:00 -0500
committerDean Troyer <dtroyer@gmail.com>2013-10-07 18:17:48 -0500
commit3f9c68f1c6585c1d7f31b75c8719efc47230d86f (patch)
tree142933220dc0488998948a08d35c1cb46184e354 /openstackclient/volume/client.py
parentbca4cf95789fc30577c796fdf349d072ef087f25 (diff)
downloadpython-openstackclient-3f9c68f1c6585c1d7f31b75c8719efc47230d86f.tar.gz
Add options to support TLS certificate verification
Add --os-cacert and --verify|--insecure options using the same sematics as the other project CLIs. --verify is included for completeness. Bug: 1236608 Change-Id: I8a116d790db5aa4cb17a2207efedce7cb229eba3
Diffstat (limited to 'openstackclient/volume/client.py')
-rw-r--r--openstackclient/volume/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/volume/client.py b/openstackclient/volume/client.py
index 92f3b14a..626b23f1 100644
--- a/openstackclient/volume/client.py
+++ b/openstackclient/volume/client.py
@@ -40,6 +40,8 @@ def make_client(instance):
api_key=instance._password,
project_id=instance._project_name,
auth_url=instance._auth_url,
+ cacert=instance._cacert,
+ insecure=instance._insecure,
)
return client