Hello, for my game I plan to have players in the game be able to use in-game items to purchase physical game items (The game is both physical and digital). I am planning to do this through a third party E-commerce solution by generating "Discount" codes through a HTTP request over cloudscript.
To do this I would obviously need to hold admin credentials/keys or password for my third party solution accessible in cloudscript to be able to generate my required codes.
What is the best-practice for this?
Obviously storing username/password in plain-text in the function is not ideal, but I do not have much experience with this sort of thing and can't seem to find much information on how to do this although I assume anyone using third-party servers would need to hold credentials in some way as well?
Thanks.