I am building an integration between Salesforce and other application with REST API calls. The Salesforce will be consuming data from that other app on in interval. I am writing my code and it is executing how expected, but I do currently have username and password hard-coded. What is the best way to store credentials in Salesforce so I can easily access them in my code?
My first reaction is to use a list type custom setting (because the user name and password is the same for all the users). Any other, more secure ways of doing that?