Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 3
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
Exemplo n.º 4
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