title: Is it secure to use database primary key values in API directly
body: <p>I have a database which has particular table "Attribs" that contains a list of attributes for a user like name, address, phone number etc. each of which is the key. The REST API I have uses this table to get attribute name and fills up another table. However, the keys in "Attribs" are being exposed in API.</p>
  
  <p>e.g. if I am trying to put user name which is an attribute user_name then my REST API will have a line like</p>
  
  <p>"user_name":"abcd"</p>
  
  <p>Is is safe to expose these keys or may it cause any possible security issues?</p>