diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2013-10-07 12:23:00 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2013-10-07 18:17:48 -0500 |
| commit | 3f9c68f1c6585c1d7f31b75c8719efc47230d86f (patch) | |
| tree | 142933220dc0488998948a08d35c1cb46184e354 /openstackclient/compute/client.py | |
| parent | bca4cf95789fc30577c796fdf349d072ef087f25 (diff) | |
| download | python-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/compute/client.py')
| -rw-r--r-- | openstackclient/compute/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py index 9bd40a4f..4d3b1b71 100644 --- a/openstackclient/compute/client.py +++ b/openstackclient/compute/client.py @@ -38,8 +38,8 @@ def make_client(instance): api_key=instance._password, project_id=instance._project_name, auth_url=instance._auth_url, - # FIXME(dhellmann): add constructor argument for this - insecure=False, + cacert=instance._cacert, + insecure=instance._insecure, region_name=instance._region_name, # FIXME(dhellmann): get endpoint_type from option? endpoint_type='publicURL', |
