Security architecture
ModelRiver is designed with security at every layer. From credential encryption at rest to signed webhook payloads, every interaction is authenticated, audited, and protected.
Core principles
- Zero plaintext secrets: API keys are hashed with SHA-256 on creation. Provider credentials are encrypted at rest and masked in the UI.
- Signed payloads: All webhook deliveries include HMAC-SHA256 signatures for authenticity verification.
- Granular access: Create separate API keys per environment or integration for fine-grained control.
- Comprehensive audit trails: Every request captures timestamps, providers, models, token counts, and status.
Security topics
- API keys: Generate, manage, and revoke authentication credentials
- Provider credentials: Securely store and rotate AI provider tokens
- Data retention: Understand how request data is stored and managed
- Input guardrails: Gateway content policy enforcement and monitoring
- Compliance: Audit trails, log access, and regulatory considerations
- Organization roles and project protection: Control team permissions and protect critical projects from console changes
- Single sign-on: Let your team sign in through your identity provider, and require it for your organization
- Directory sync: Add and remove members from your identity provider with SCIM, and set roles from groups
- KMS encryption: Encrypt request log content under an AWS KMS key, ModelRiver's or your own (Custom plans); Google Cloud KMS and Azure Key Vault on request
Authentication & access
- Dashboard access uses secure session cookies. Invite only trusted teammates.
- All API requests require a valid Bearer token. Failed attempts return
401or403with guidance. - Rate limiting protects the platform from abuse. Contact support if you need higher throughput.
Responsible usage
- Respect provider terms of service. ModelRiver acts as an orchestrator and does not override vendor policies.
- Implement user-level rate limits in your application to complement ModelRiver's platform-wide safeguards.
- Handle personally identifiable information (PII) in accordance with your regulatory obligations.