I am building an application that connect to a 3rd party app to get some info, my idea was to design it in a way that the app control the password, it can change it once in a while, hash it and keep the hashed password somewhere. this way no human knows the password.
But I can't figure out where and how I should securely store the secret key, so the people that have access to that machine can't recover the password.
Is there any known method that I can't find? or this is not possible to have the password and secret key on the same machine.