Security

Hoziron is designed for enterprise environments where compliance, auditability, and access control aren't optional. This section covers the platform's security model from an operator's perspective — how to authenticate clients, control who can do what, harden your deployment, and maintain a verifiable audit trail.

The security model follows defense in depth: network controls limit who can reach the API, authentication verifies identity, RBAC restricts actions, and the audit log records everything for post-hoc review.

What you'll find here

GuideDescription
AuthenticationConfigure API keys, set up OIDC/SSO, manage client credentials
RBACDefine roles and permissions, assign them to API keys, enforce least privilege
Hardening checklistStep-by-step checklist for production-grade security posture
Audit trailEnable audit logging, query events, verify log integrity

Common tasks

Security layers

Each layer is independent — you can use IP allowlists without OIDC, or RBAC without the full hardening checklist. But for production deployments, all layers working together provide the strongest posture.

Key principles

  • Least privilege by default — new API keys have no permissions until explicitly granted
  • Secrets never at rest in config — API keys and credentials are read from environment variables or vault integrations
  • Immutable audit trail — logged events include integrity hashes for tamper detection
  • Health endpoint is always open/health bypasses all auth so orchestrators can probe liveness