cerbos
Cerbos helps you super-charge your authorization implementation by writing context-aware access control policies for your application resources.
Author access rules using an intuitive YAML configuration language, use your Git-ops infrastructure to test and deploy them, and make simple API requests to the Cerbos policy decision point (PDP) server to evaluate the policies and make dynamic access decisions.
This package provides the cerbos
binary in an npm package.
To interact with the Cerbos PDP from your application, you can use the SDK.
Installation
$ npm install cerbos
Note that this package relies on platform-specific optional dependencies, so make sure you don't omit these when installing dependencies (for example, don't pass the --no-optional
flag to npm
).
Supported platforms
OS | Architecture |
---|
darwin | arm64 |
darwin | x64 |
linux | arm64 |
linux | x64 |
Further reading
Get help