From cce25679a402ea108760fd3dbcb7a883bc0bd342 Mon Sep 17 00:00:00 2001 From: tomdds Date: Thu, 29 Aug 2019 17:03:00 -0400 Subject: [PATCH] Define potential structure for admin user return type --- atst/domain/csp/cloud.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/atst/domain/csp/cloud.py b/atst/domain/csp/cloud.py index 8717f7cc..9132b154 100644 --- a/atst/domain/csp/cloud.py +++ b/atst/domain/csp/cloud.py @@ -18,7 +18,7 @@ class CloudProviderInterface: def create_atat_admin_user(self, auth_credentials, csp_environment_id): """Creates a new, programmatic user in the CSP. Grants this user full permissions to administer - the CSP. Returns a dictionary containing user details, including user's API credentials. + the CSP. Arguments: auth_credentials -- Object containing CSP account credentials @@ -26,6 +26,11 @@ class CloudProviderInterface: Returns: object: Object representing new remote admin user, including credentials + Something like: + { + "user_id": string, + "credentials": dict, # structure TBD based on csp + } """ raise NotImplementedError()