Files
pos-system/services/membership-service-net
Ho Ngoc Hai 619a06fafe fix(security): remove external Redis/MinIO/SMTP credentials from base appsettings.json
SEC-C-01 extended gap: 3 base appsettings.json files still referenced external
infrastructure (167.114.174.113) with Velik@2026 credentials and real SMTP
password — missed by the Wave 1 security fix which targeted DB credentials only.

Changes:
- iam-service-net/appsettings.json: Redis localhost (removed Velik@2026),
  SMTP localhost:1025 (removed Mailgun credentials)
- membership-service-net/appsettings.json: Redis localhost (removed Velik@2026)
- storage-service-net/appsettings.json: MinIO→localhost:9000 minioadmin/minioadmin,
  Redis→localhost (removed Velik@2026)

All production credentials (Redis, MinIO, SMTP) must be injected via
environment variables. Base appsettings.json targets docker-compose local stack.

CTO review finding: Redis__Password, MinIO:SecretKey, Email:SmtpPassword
must never appear in committed config files.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-23 09:54:59 +07:00
..

Membership Service

EN: English Documentation
VI: Tài liệu Tiếng Việt

Tech Stack

  • .NET 10
  • PostgreSQL
  • Redis (caching)
  • MediatR (CQRS)
  • FluentValidation

Development

# Restore and build
dotnet restore
dotnet build

# Run the API
dotnet run --project src/MembershipService.API

# Run tests
dotnet test

See detailed documentation in docs/en/ or docs/vi/.