🪽Hermes Gateway Allowlist
Also known as TELEGRAM_ALLOWED_USERS, GATEWAY_ALLOWED_USERS
The list of people the Hermes gateway will answer. All others get no reply.
Think of it like
It is like a guest list at the door. If your name is not on it, you do not get in.
Example
Leo puts his own Telegram user ID in the list. A stranger who finds the bot gets no reply.
Why it matters
A bot that can run shell commands must not answer anyone who happens to find it.
Definition
Example code
console
TELEGRAM_ALLOWED_USERS=123456789,987654321Common mistake
Key takeaways
- 1Deny by default. Safe start.
- 2Per app or for all. In .env.
- 3User IDs. Not names.