diff options
author | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-09-20 20:46:34 -0400 |
---|---|---|
committer | Pavel Makhov <pmakhov@theoctavegroup.com> | 2019-09-20 20:46:34 -0400 |
commit | 504a051f085e24fd3b1238cfbaa7958d57f77982 (patch) | |
tree | 2fe8ea4b5ba202c86e7b2076dee9ad1d41c26bd7 | |
parent | 57e0bbdc605eaf90c6a94ed83429d4ea9b338659 (diff) |
add secrets.lua to store api keys for translate shell and weather widget
-rw-r--r-- | secrets.lua | 17 |
1 files changed, 17 insertions, 0 deletions
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 '<your_key>', + + -- OpenWeatherMap API key - https://openweathermap.org/appid + weather_widget_api_key = os.getenv('AWW_WEATHER_API_KEY') or '<your_key>', +} + +return secrets |