From f4b5e49c2688c101459ef3f0b333c1367ceec00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 1 Nov 2016 13:57:30 +0100 Subject: [PATCH] Return service account info from create_service_account() --- pillar/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pillar/cli.py b/pillar/cli.py index 27722788..41c1a8cd 100644 --- a/pillar/cli.py +++ b/pillar/cli.py @@ -283,6 +283,7 @@ def create_service_account(email, service_roles, service_definition): print() print('Access token: %s' % token['token']) print(' expires on: %s' % token['expire_time']) + return account, token @manager.command