The guides and reference for Libra, the authentication and authorization proxy that sits in front of an NGSI-LD context broker.
Read the documentation · Run it locally · Versioning · Community · License
Part of Vela Tools · Based on EU open standards 🇪🇺 · Built in Ljubljana, Slovenia 🇸🇮 by SenLab d.o.o.
The source of vela-tools.github.io/libra, a Docusaurus site holding the documentation pages for Libra.
The pages cover writing policies, configuring, running, deploying and testing Libra, and the security properties it holds and does not. Libra implements NGSI-LD v1.9.1 (ETSI GS CIM 009 v1.9.1), not the API of any one broker. Scorpio is the broker it is tested against at the moment.
npm install
npm run startThat serves the site with live reload. To reproduce what CI does:
npm run typecheck # the config and the theme components
npm run build # fails on a broken internal link
npm run serve # serve the built outputonBrokenLinks is set to throw, so a link into a page that does not exist stops the build rather than warning. Links out to the specification and to GitHub are absolute and are not checked here.
The site is versioned only. There is no current docs/ directory, and includeCurrentVersion is off, so an edit goes straight into versioned_docs/version-<v> and its sidebar lives in versioned_sidebars/version-<v>-sidebars.json. The newest entry in versions.json is the default and is served at /docs, without a version in the path.
To cut a release, copy the newest version directory and its sidebar, add the version to versions.json, and name it in the versions map in docusaurus.config.ts. docusaurus docs:version needs a current version and will not work here.
versioned_docs/version-1.0.0-beta.1/
The pages for a version document that version of the proxy and nothing else.
docusaurus-plugin-llms points at the newest version and writes llms.txt, llms-full.txt, and a markdown copy of every page into the build output.
Libra is not accepting external contributions right now, this repository included. Reports are another matter, and all of them are welcome: a page that describes behaviour the proxy does not have, a link that goes nowhere, a topic with no page, a step explained wrongly. CONTRIBUTING.md says why the door is shut and what to put in the report.
Never report a security vulnerability through a public issue. Follow the Libra security policy instead.
- Issues: GitHub Issues
- Documentation: vela-tools.github.io/libra
- Libra itself: vela-tools/libra
- Newsletter: velacontext.com/newsletter
- General contact: [email protected]
- Security: private vulnerability reporting, see the security policy
One licence covers this repository: CC-BY-4.0, for the prose and the site source alike. Reuse it anywhere, including commercially, as long as you credit SenLab d.o.o. and say whether you changed it. Libra itself is EUPL-1.2, in its own repository. NOTICE.md has the detail and the trademark terms.
Libra is part of Vela Tools, an open-core infrastructure project for the NGSI-LD ecosystem. SenLab d.o.o. builds it in Ljubljana, Slovenia. Learn more at velacontext.com.
