From 5672c688d1cc7cdc064510daa6251d39edbf3033 Mon Sep 17 00:00:00 2001 From: Matthieu Huin Date: Mon, 30 Jun 2014 19:12:27 +0200 Subject: trust authentication This patch enables authenticating by using a trust. The trust ID must be set with the parameter --os-trust-id or the env variable OS_TRUST_ID. Trusts are available for the identity v3 API. Co-Authored-By: Florent Flament Change-Id: Iacc389b203bbadda53ca31a7f5a9b8b6e1a1f522 --- openstackclient/identity/client.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openstackclient/identity/client.py') diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py index b58098e9..32a2c23b 100644 --- a/openstackclient/identity/client.py +++ b/openstackclient/identity/client.py @@ -43,6 +43,7 @@ def make_client(instance): token=instance._token, cacert=instance._cacert, insecure=instance._insecure, + trust_id=instance._trust_id, ) else: LOG.debug('instantiating identity client: password flow') @@ -61,6 +62,7 @@ def make_client(instance): region_name=instance._region_name, cacert=instance._cacert, insecure=instance._insecure, + trust_id=instance._trust_id, ) instance.auth_ref = client.auth_ref return client -- cgit v1.2.1