aws_creds has been removed from the DB and the model, needs
removing from the API too
bug #
1215850
Change-Id: I008acc13576c857d9e6238f186424e43dcdd7850
user_creds_ref = models.UserCreds()
user_creds_ref.update(values)
user_creds_ref.password = crypt.encrypt(values['password'])
- user_creds_ref.aws_creds = crypt.encrypt(values['aws_creds'])
user_creds_ref.save(_session(context))
return user_creds_ref
# or it can be committed back to the DB in decrypted form
result = dict(db_result)
result['password'] = crypt.decrypt(result['password'])
- result['aws_creds'] = crypt.decrypt(result['aws_creds'])
return result