title: Store in DB api keys for third party service
body: <p>I have a java application and I have users connecting to it with user and password.
  I'm using amazon services for the hosting and for the rest of the stuff in the application.</p>
  
  <p>I want to make a rest call to get some data from third party service and I need the user to enter the API key for it.
  Each user has his own API KEY.</p>
  
  <p>I don't want the user to enter the API KEY every time.</p>
  
  <p>I don't want to store the API KEY as is in the DB so I tried to google it but I didn't find any pro\elegant solution.</p>
  
  <p>Do you have any idea besides encrypt and decrypt the API key using some algorithm?</p>