コード例 #1
0
 def encrypt_value(self, user, cloud, variable, password):
     user_password = user['clouds'][cloud]['credentials'][variable]
     safe_value = cm_encrypt(user_password, password)
     user['clouds'][cloud]['credentials'][variable] = safe_value
コード例 #2
0
 def encrypt_value(self, username, cloud, variable):
     user_password = self[username][cloud]['credentials'][variable]
     safe_value = cm_encrypt(user_password, self.password)
     self[username][cloud]['credentials'][variable] = safe_value
コード例 #3
0
ファイル: cm_credential_1.py プロジェクト: lee212/cloudmesh
 def encrypt_value(self, username, cloud, variable):
     user_password = self[username][cloud]['credentials'][variable]
     safe_value = cm_encrypt(user_password, self.password)
     self[username][cloud]['credentials'][variable] = safe_value
コード例 #4
0
ファイル: cm_credential.py プロジェクト: lee212/cloudmesh
 def encrypt_value(self, user, cloud, variable, password):
     user_password = user['clouds'][cloud]['credentials'][variable]
     safe_value = cm_encrypt(user_password, password)
     user['clouds'][cloud]['credentials'][variable] = safe_value