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/identity | |
| 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/identity')
| -rw-r--r-- | openstackclient/identity/client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py index 8c9437ba..4814bc3e 100644 --- a/openstackclient/identity/client.py +++ b/openstackclient/identity/client.py @@ -47,7 +47,10 @@ def make_client(instance): tenant_name=instance._project_name, tenant_id=instance._project_id, auth_url=instance._auth_url, - region_name=instance._region_name) + region_name=instance._region_name, + cacert=instance._cacert, + insecure=instance._insecure, + ) instance.auth_ref = client.auth_ref return client |
