python-telegram-handler icon indicating copy to clipboard operation
python-telegram-handler copied to clipboard

How to avoid potential security breach storing telegram token and channel id in config file/github?

Open cgimax opened this issue 2 years ago • 0 comments

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

cgimax avatar Sep 04 '23 21:09 cgimax