Hello guys, I couldn't find any way to store API ...
# questions
n
Hello guys, I couldn't find any way to store API keys in a
.env
or
credentials.yml
and then use it in my nodes parameters to make API requests. Are there any simple solutions (without putting it in
parameters.yml
and then risk to push my key into production...) I missed ? Thanks a lot in advance for your response, Have a nice day!
👀 1
r
Hi @Nathan W., you can use
local
config env when working in local to store your keys which won't be pushed to version control - https://docs.kedro.org/en/0.19.14/configuration/configuration_basics.html#local In production you can use env variables (this can be done for local too) - https://docs.kedro.org/en/0.19.14/configuration/advanced_configuration.html#how-to-load-credentials-through-environment-variables I hope this helps. Thank you