Skip to content
Get started
Free and open-source

No bill. Six tools.
Zero glue.

Bastionary is identity, access, licensing and feature flags in one self-hosted platform. Run it on your own server and replace the pile of separate vendors with one API.

# one endpoint, 400+ commands
curl -X POST https://auth.example.com/api/v1/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"LICENSE.VALIDATE","params":{"key":"..."}}'

Six tools, one API

Everything below ships in the same free download. No extra modules, no add-ons.

Authentication

OIDC identity provider (authorization code + PKCE, refresh rotation), passwords, magic links, social login, TOTP and passkeys (WebAuthn).

Enterprise SSO and SCIM

SAML 2.0 and OIDC federation with just-in-time provisioning, plus SCIM 2.0 user and group sync.

Authorization

RBAC, ABAC and relationship-based (Zanzibar-style) access checks in one system, with an explain command for every decision.

Software licensing

Issue, activate, validate and revoke license keys, including offline validation for desktop apps.

Feature flags and entitlements

Per-user and per-team flags, progressive rollouts, A/B segments and entitlement checks computed server-side.

Audit and compliance

Tamper-evident audit log with a SHA-256 hash chain, GDPR erasure and consent records, retention controls.

Questions

Is Bastionary really free?

Yes. Bastionary is free, open-source software. You run it on your own servers, with no per-user fees, no tiers and no bill.

What do I need to run it?

PostgreSQL 16 and either Docker or Python 3.12. The quick start walks through both routes.

Where do I download it?

Releases are published on our Git forge. The quick start shows how to install and run a release.

Do I need an account?

No. There are no user accounts on this site and nothing to sign up for. Download it, run it, and you are done.

Is there a hosted version?

No. Bastionary is self-hosted software. The knowledge base and the quick start cover deployment, upgrades and operations.

How do I get help?

Start with the knowledge base. For bugs and questions, open an issue on the Git forge; the community and maintainers answer there.

How do I report a security problem?

Email security@bastionary.com. See the security page for how we handle reports.

How will I hear about new releases?

Watch the repository for releases, or read the changelog.