RabbitMQ の保護には、authentication、authorization(permissions、vhosts)、暗号化(TLS)、そして ネットワークセキュリティ が含まれ、broker とそれが扱うメッセージを保護します。RabbitMQ のセキュリティを理解することは、本番環境への展開において重要です。
authentication と authorization
✓ AUTHENTICATION → require credentials (users/passwords); don't use the default guest
account in production (it's restricted to localhost by default — and should be removed/changed)
✓ AUTHORIZATION → grant users PERMISSIONS (configure/write/read) per VHOST → least privilege
(users access only what they need)
✓ VHOSTS → isolate applications/tenants; scope permissions per vhost
✓ Consider external auth (LDAP, OAuth) for enterprise
