Hello folks! How do I handle API keys in Ktor? Where do I put and access them safely?
👀 2
manlan
07/03/2020, 2:51 PM
Anyone, please?
s
Satyam Agarwal
07/03/2020, 6:11 PM
This is not ktor specific I think. It’s a web framework. Easiest way would be make those keys available as environment variables and use these environment variables in the config.
m
manlan
07/03/2020, 6:16 PM
Thanks, should it look something like this?
How do I read this from Ktor code?