An open API service indexing awesome lists of open source software.

https://github.com/fiware/tutorials.roles-permissions

:closed_book: FIWARE 402: IDM - Application Roles and Permissions
https://github.com/fiware/tutorials.roles-permissions

fiware fiware-keyrock identity-management security tutorial

Last synced: 5 months ago
JSON representation

:closed_book: FIWARE 402: IDM - Application Roles and Permissions

Awesome Lists containing this project

README

          

[![FIWARE Banner](https://fiware.github.io/tutorials.Roles-Permissions/img/fiware.png)](https://www.fiware.org/developers)

[![FIWARE Security](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/security.svg)](https://github.com/FIWARE/catalogue/blob/master/security/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Roles-Permissions.svg)](https://opensource.org/licenses/MIT)
[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware)

The tutorial explains how to create applications, and how to assign roles and permissions to them. It takes the users
and organizations created in the [previous tutorial](https://github.com/FIWARE/tutorials.Roles-Permissions) and
ensures that only legitimate users will have access to resources.

The tutorial demonstrates examples of interactions using the **Keyrock** GUI, as well [cUrl](https://ec.haxx.se/)
commands used to access the **Keyrock** REST API -
[Postman documentation](https://www.postman.com/downloads/) is also available.

# Start-Up

## NGSI-v2 Smart Supermarket

**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.

```console
git clone https://github.com/FIWARE/tutorials.Roles-Permissions.git
cd tutorials.Roles-Permissions
git checkout NGSI-v2

./services create
./services start
```

| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.Roles-Permissions/tree/NGSI-v2) | [Postman Collection](https://fiware.github.io/tutorials.Roles-Permissions/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Roles-Permissions/NGSI-v2)
| --- | --- | --- | ---

## NGSI-LD Smart Farm

**NGSI-LD** offers JSON-LD based interoperability used for Federations and Data Spaces. To run this tutorial with **NGSI-LD**, use the `NGSI-LD` branch.

```console
git clone https://github.com/FIWARE/tutorials.Roles-Permissions.git
cd tutorials.Roles-Permissions
git checkout NGSI-LD

./services create
./services start
```

| [![NGSI LD](https://img.shields.io/badge/NGSI-LD-d6604d.svg)](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf) | :books: [Documentation](https://github.com/FIWARE/tutorials.Roles-Permissions/tree/NGSI-LD) | [Postman Collection](https://fiware.github.io/tutorials.Roles-Permissions/ngsi-ld.html) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Roles-Permissions/NGSI-LD)
| --- | --- | --- | ---

---

## License

[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.