diff --git a/examples/common.py b/examples/common.py index c9288986..6980e0db 100755 --- a/examples/common.py +++ b/examples/common.py @@ -289,6 +289,13 @@ def option_parser(): default=env('OS_TOKEN', default=None), help='Defaults to env[OS_TOKEN]', ) + parser.add_argument( + '--os-trust-id', + dest='trust_id', + metavar='', + default=env('OS_TRUST_ID', default=None), + help='Defaults to env[OS_TRUST_ID]', + ) parser.add_argument( '--data', metavar='', diff --git a/examples/connection.py b/examples/connection.py index 36d019a2..154a398f 100644 --- a/examples/connection.py +++ b/examples/connection.py @@ -35,6 +35,7 @@ def make_connection(opts): 'user_domain_name': opts.user_domain_name, 'username': opts.username, 'password': opts.password, + 'trust_id': opts.trust_id, 'verify': opts.verify, 'token': opts.token, }