I have a java properties object with authentication information for a web service. I need to encrypt that data, but I don't know where I need to store the encryption key for it to remain secure.
What are the best practices around encrypting this data and retrieving it in a secure way?
Is there any advantage to using a keystore?
ws_user=username
ws_password=password
ws_url=https://www.whatever.com/myservice