You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/03/03 18:31:43 UTC

[2/2] airavata git commit: API Methods to manage credentials - AIRAVATA-1616

API Methods to manage credentials - AIRAVATA-1616


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/f9f63a02
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/f9f63a02
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/f9f63a02

Branch: refs/heads/master
Commit: f9f63a02573a6d53b4203a33ff485a50c2844037
Parents: 3df0250
Author: Suresh Marru <sm...@apache.org>
Authored: Tue Mar 3 12:31:35 2015 -0500
Committer: Suresh Marru <sm...@apache.org>
Committed: Tue Mar 3 12:31:35 2015 -0500

----------------------------------------------------------------------
 .../airavataAPI.thrift                          | 37 ++++++++++++++++++++
 1 file changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/f9f63a02/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
index cce3563..0c88e8e 100644
--- a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
+++ b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
@@ -101,6 +101,43 @@ service Airavata {
                    2: airavataErrors.AiravataClientException ace,
                    3: airavataErrors.AiravataSystemException ase)
 
+
+  /**
+    * Airavata Adminstrative Funcationality
+  **/
+
+
+  /**
+   * Generate and Register SSH Key Pair with Airavata Credential Store.
+   *
+   * @param gatewayId
+   *    The identifier for the requested experiment. This is returned during the create experiment step.
+   *
+   * @param userName
+   *    The User for which the credential should be registered. For community accounts, this user is the name of the
+   *    community user name. For computational resources, this user name need not be the same user name on resoruces.
+   *
+   * @return airavataCredStoreToken
+   *   An SSH Key pair is generated and stored in the credential store and associated with users or community account
+   *   belonging to a gateway.
+   *
+   **/
+
+   string generateAndRegisterSSHKeys (1: required string gatewayId, 2: required string userName)
+           throws (1: airavataErrors.InvalidRequestException ire,
+                   2: airavataErrors.AiravataClientException ace,
+                   3: airavataErrors.AiravataSystemException ase)
+
+   string getSSHPubKey (1: required string airavataCredStoreToken)
+           throws (1: airavataErrors.InvalidRequestException ire,
+                   2: airavataErrors.AiravataClientException ace,
+                   3: airavataErrors.AiravataSystemException ase)
+
+   map<string, string> getAllUserSSHPubKeys (1: required string userName)
+           throws (1: airavataErrors.InvalidRequestException ire,
+                   2: airavataErrors.AiravataClientException ace,
+                   3: airavataErrors.AiravataSystemException ase)
+
   /**
    * Create a Project
    *