Securely storing API Keys in C#

May 13 2018 1:25 AM
I have this scenario:
My .NET Desktop application executes Python scripts to access 3rd party applications.  These applications often require Oauth2 authentification. 
I dont want to expose my API keys in the C# source code. As far as I read there is no safe way to do it.
I expect to have to somehow navigate this workflow around a server of my own.
 
Does anyone have a suggestions how to deal with this situation?