Skip to content
/ authz Public

๐Ÿ›ก๏ธ Authorization backend that comes with a UI for RBAC and ABAC permissions

License

Notifications You must be signed in to change notification settings

eko/authz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Backend Cucumber badge Go Report Card

๐Ÿ›ก๏ธ Authz - Authorization backend

Authz

This project brings a backend server with its frontend for managing authorizations.

You can use both Role-Based Acccess Control (RBAC) and Attribute-Based Access Control (ABAC).

Why use it?

๐ŸŒ A centralized backend for all your applications authorizations

๐Ÿ™‹โ€โ™‚๏ธ Supports Role-Based Access Control (RBAC)

๐Ÿ“Œ Supports Attribute-Based Access Control (ABAC)

โš™๏ธ Multiple language SDKs available

โœ… Reliable: Authz uses Authz itself for managing its own internal authorizations

๐Ÿ” Audit: We log each check decisions and which policy matched

๐Ÿ” Single Sign-On: Use your enterprise SSO to log into the web UI, using OpenID Connect

๐Ÿ•ต๏ธโ€โ™‚๏ธ Observability: Retrieve metrics and tracing data into your prefered tools

More information on authz.fr

How it works?

Authorization is simple: a principal wants to make an action on a resource. That's it.

Authz allows you to manage all the authorizations you want to manage. All of them, centralized in a single application.

Text changing depending on mode. Light: 'So light!' Dark: 'So dark!'

All you need to do is to host the backend server (a Go single binary), the frontend (static files) if you want it and use our SDKs.

All data are stored in a SQL database. We currently support:

You can run a development environment using our docker-compose.mysql.yaml and docker-compose.postgres.yaml files. Or, you can see below to run an example using SQLite.

SDKs

In order to help you, we have the following available SDKs:

Please check their documentations for detailled usage. They all use gRPC for communicating with the Authz backend (server-to-server).

More SDKs are coming soon.

Getting started

The best way to start trying Authz is to use the following standalone Docker image:

$ docker run --rm \
    -e database_driver=sqlite \
    -e database_name=:memory: \
    -p 8080:8080 \
    -p 8081:8081 \
    -p 3000:80 \
    ekofr/authz:v0.8.4-standalone

Here, we use SQLite in-memory as database.

Frontend will be available under http://localhost:3000 with default credentials: admin / changeme.

Alternatively, we also have separated backend and frontend Docker images available here: https://hub.docker.com/repository/docker/ekofr/authz.

Documentation

More technical documentations are available at https://docs.authz.fr.

Backend

For more information about backend, please refer to the Backend README file.

Frontend

For more information about frontend, please refer to the Frontend README file.

Community

Please feel free to contribute on this project and do not hesitate to open an issue if you want to discuss about a feature.