From 504a051f085e24fd3b1238cfbaa7958d57f77982 Mon Sep 17 00:00:00 2001 From: Pavel Makhov Date: Fri, 20 Sep 2019 20:46:34 -0400 Subject: add secrets.lua to store api keys for translate shell and weather widget --- secrets.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 secrets.lua (limited to 'secrets.lua') diff --git a/secrets.lua b/secrets.lua new file mode 100644 index 0000000..05ca2bf --- /dev/null +++ b/secrets.lua @@ -0,0 +1,17 @@ +------------------------------------------------- +-- Allows to store client specific settings in one place +-- +-- @author Pavel Makhov +-- @copyright 2019 Pavel Makhov +-------------------------------------------- + +local secrets = { + + -- Yandex.Translate API key - https://tech.yandex.com/translate/ + translate_widget_api_key = os.getenv('AWW_TRANSLATE_API_KEY') or '', + + -- OpenWeatherMap API key - https://openweathermap.org/appid + weather_widget_api_key = os.getenv('AWW_WEATHER_API_KEY') or '', +} + +return secrets -- cgit v1.2.3