Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

ferriskey

> 前端框架
Open source

FerrisKey is an open-source IAM solution designed for modern cloud-native environments, high-performance and written in Rust.

670 stars0 likes4 views
WebsiteGitHub

About

FerrisKey is an open-source IAM solution designed for modern cloud-native environments, high-performance and written in Rust.

FerrisKey — Open‑Source, High‑Performance Identity & Access Management

Cloud‑native • Extensible • Built in Rust

   

   

   


✨ Why FerrisKey?

FerrisKey is a modern Identity & Access Management (IAM) platform built with Rust and a hexagonal architecture. It aims to be a serious open‑source alternative to heavyweight IAMs fast, modular, and cloud‑native by design.

  • Performance-first — Rust, async I/O, low latency.
  • Hexagonal architecture — clean domain, clear ports/adapters.
  • Multi‑tenant realms — strong isolation of users/roles/clients.
  • Modern auth — OIDC/OAuth2, MFA (TOTP).
  • Extensibility — native modules for MFA, auditability, and webhooks.
  • ☁️ Cloud‑native — official Helm chart; ready for Kubernetes.

Table of Contents

  • Features
  • Quick Start
  • Configuration
  • Database Migrations
  • Modules
  • Architecture
  • Observability
  • Roadmap
  • Contributing
  • Security
  • License
  • Links

Features

Capability Details
OIDC / OAuth2 Standards‑compliant flows for modern apps & services.
Multi‑Tenant Realms Logical isolation of users, roles, clients, secrets.
Clients & Service Accounts Fine‑grained role mapping; bitwise role system.
MFA (TOTP) Pluggable strategies with required actions.
Observability Prometheus metrics, Grafana dashboards.
Kubernetes‑ready Helm chart with sane defaults; OCI distribution.

License: Apache‑2.0. No paywalls. Community‑first.

Quick Start

For local development using the repo justfile, see DEVELOPMENT.md.

Option A — Using latest Docker image

yaml
docker compose --profile registry up -d

Then visit http://localhost:5556 to access the console. The default credentials are admin and admin.

Option B — Re-build Docker image

yaml
docker compose --profile build up -d

Important migration note (Postgres 18+ volume path): local compose mounts pgdata at /var/lib/postgresql (the Postgres 18+ recommended mount point). If you are migrating from an older local setup that used a different mount path, remove or migrate the old volume first. Quick reset (destructive): docker compose down -v.

Then visit http://localhost:5555 to access the console. The default credentials are admin and admin.

Option C — Helm (Kubernetes)

Requires a reachable Postgres (or include it via your platform’s recommended operator).

See chart documentation.

Option D - Cargo

  1. Clone the repo
bash
git clone https://github.com/ferriskey/ferriskey
  1. Launch the database and execute migrations with sourced env variables
bash
cd api
cp env.example .env
# feel free to change the env variables in .env to your liking.
docker compose up -d
cd ../core
# to install sqlx you might need to run `cargo install sqlx-cli --no-default-features --features postgres`
DATABASE_URL=postgres://ferriskey:ferriskey@localhost:5432/ferriskey sqlx migrate run
  1. Launch the API
bash
# to upgrade rustc version to 1.89.0, you can run `rustup update`
cd ../api
cargo run
  1. Launch the frontend (optional)
bash
cd ../front
cp .env.example .env
pnpm install
pnpm run dev

Then visit http://localhost:5555 to access the console. The default credentials are admin and admin.

⚙️ Configuration

Common environment variables (example):

PORT=3333
ENV=development
LOG_LEVEL=info
DATABASE_URL=postgres://ferriskey:ferriskey@localhost:5432/ferriskey

ADMIN_PASSWORD=admin
ADMIN_USERNAME=admin
[email protected]

ALLOWED_ORIGINS=http://localhost:5555

ALLOWED_ORIGINS lists the origins accepted on every route. Beyond it, each client declares its own web origins at runtime, enforced per realm — see the web-origins endpoints under a client. Those per-client origins never replace ALLOWED_ORIGINS: /config, the health probes and the API docs carry no realm, so an admin console served from a different origin than the API must keep its origin in ALLOWED_ORIGINS.

By default, the API will listen on port 3333 and the frontend on port 5555.

️ Database Migrations

FerrisKey uses SQLx for database migrations. To apply pending migrations:

bash
cd core
DATABASE_URL=postgres://ferriskey:ferriskey@localhost:5432/ferriskey sqlx migrate run

To check migration status:

bash
DATABASE_URL=postgres://ferriskey:ferriskey@localhost:5432/ferriskey sqlx migrate info

Note: If you have DATABASE_URL set in your environment or .env file, you can omit it from the command.

Modules

  • Trident — MFA & security scopes TOTP, WebAuthn, Magic Link; flexible required actions.

  • SeaWatch — Observability & audit logs Security event trails; queryable from the console; exportable.

  • Webhooks — Event‑driven extensibility Subscribe to user/client/realm lifecycle events without forking core.

️ Architecture

FerrisKey follows a Hexagonal Architecture (Ports & Adapters) to keep business logic pure and infrastructure replaceable.

Observability

  • Metrics: /metrics (Prometheus format)
  • Dashboards: Starter Grafana dashboards included in Helm values (optional)

Contributing

We welcome contributions of all kinds bugfixes, features, docs, testing.

  1. Read CONTRIBUTING.md
  2. Pick an issue (good first issues labelled)
  3. Open a PR with tests and a concise description

Join discussions to help shape modules, APIs, and UX.

Security

Please report vulnerabilities responsibly via Security Advisories. Avoid filing publicly until coordinated disclosure is agreed.

License

Apache‑2.0 — free to use, modify, and distribute.

Links

  • Source:
  • Helm Chart (OCI): oci://ghcr.io/ferriskey/charts/ferriskey
  • Documentation:
  • Discussions:
  • Sponsor:

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustautorizationcloud-nativehacktoberfestiam

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架