python-telegram-handler
python-telegram-handler copied to clipboard
How to avoid potential security breach storing telegram token and channel id in config file/github?
How to avoid potential security breach storing telegram token and channel id in config file/github?
'handlers': { 'telegram': { 'class': 'telegram_handler.TelegramHandler', 'formatter': 'telegram', 'token': 'your token', 'chat_id': 'chat id'
Is there a way to use environment variables or aws secret manager to avoid storing token/chat_id in config file?
Thank you