SlideShare a Scribd company logo
How to Install and Configure your
own Identity Manager GE
Álvaro Alonso – Federico Fernández
Security Team
Technical University of Madrid (UPM)
aalonsog@dit.upm.es – fefernandez@dit.upm.es
Outline
 Introduction
 KeyRock Architecture
 Installing and Configuring KeyRock
 Demo
1
Why do I need an
Identity Manager?
2
What is an Identity Manager?
3
Why should I install
FIWARE Identity Manager GE?
4
KeyRock GE: features
 Users
 Organizations
 Authorization via roles
 Applications and OAuth
 IoT identity management
 OpenStack services
 Admin tools
 SCIM API
5
KeyRock Architecture
6
KeyRock Architecture
7
Horizon
Keystone
DB
KeyRock Architecture: Horizon
 Front-end view
 Based on OpenStack Horizon
 User views
 Contains…
• Oauth2 Driver
• reCAPTCHA
• FIWARE Accounts
• Admin Tools
• AuthZForce Driver
 Extra dependencies
• Python Keystoneclient
• Django OpenStack Auth
8
Horizon
Keystone
DB
KeyRock Architecture: Keystone
 Back-end component
 Resources management
 Connection to database
 Extensions
• OAuth2
• SCIM 2.0
• User registration
• Two factor authentication
9
Horizon
Keystone
DB
KeyRock Architecture: Database
 For development:
 For deployment:
10
Horizon
Keystone
DB
#handsOn
11
Documentation & Source Code
 Quick Installation Guide
• http://fiware-idm.readthedocs.io/en/latest/introduction.html#how-to-build-
install
 Detailed Installation Guide
• http://fiware-idm.readthedocs.io/en/latest/admin_guide.html#step-by-
step-installation
 GitHub
• https://github.com/ging/fiware-idm
• https://github.com/ging/horizon
• https://github.com/ging/keystone
 API description
• http://docs.keyrock.apiary.io
12
Installing KeyRock
13
Installing
the back-end
1. Install Ubuntu
dependencies
1. 14.04 LTS fully
supported
2. 16.04 LTS should work
2. Get the code
3. Install Python
dependencies
4. Create a configuration
file
14
5. Create the tables and
populate the database
Creation of the idm
user account
15
Installing
the back-end
5. Create the tables and
populate the database
Creation of the idm
user account
6. That’s it!!
16
Installing
the back-end
1. Install Ubuntu
dependencies
2. Get the code
3. Create a configuration
file
4. Install Python
dependencies
17
Installing
the front-end
1. Install Ubuntu
dependencies
2. Get the code
3. Create a configuration
file
4. Install Python
dependencies
5. That’s it!
18
Installing
the front-end
Installing Keyrock
Good News
 Installation tools to ease
the process
 Bash script
• Idm user: idm
• Idm psswd: idm
• Keystone port: 5000
• Horizon port: 8000
 Docker image
 Chef cookbook
19
Configuring KeyRock
20
Configuring
the back-end
 Admin token
 Admin port
 Public port
 Configure authorization,
roles…
21
Configuring
the front-end
 Credentials for
idm user
 reCAPTCHA
 Accont expiration
22
Configuring
the front-end
 AJAX pagination
 Connection with
Access Control GE
23
Considerations for production environments
 Do not run Horizon from the
dev server
 Do not run KeyRock without
having enabled reCAPTCHA
 Do not use SQLite
 Do not forget about the
emails!
 Do not run Keystone in dev
mode
24
 Do run Horizon under
Apache+mod_wsgi
 Do enable reCAPTCHA
 Do use some production-
ready DB engine (MySQL)
 Do set up an SMTP server to
send mails (POSTFIX)
 Do set up Keystone as a
service
Production env:
MySQL
 Configure the new SQL
backend in Keystone
 Grant privileges to
database
25
Production env:
email
This will get the
settings from the
default SMTP server in
your host
26
Production env:
setting up Keystone as a service
 It works like any other
Linux service
Create a
/etc/init/
keystone_idm.conf file
To run the service...
27
Production env:
CORS
 Whitelist to restritc
access to all the
endpoints in the front-
end
 Django signal to allow
everyone access only
some of the endpoints
28
Administrating KeyRock
29
Administrating KeyRock
30
$ git clone https://github.com/ging/fiware-idm
imd-admin && cd imd-admin
$ sudo pip install -r requirements.txt
$ sudo python setup.py install
$ idm-admin --help
#handsOn
31
Achievements
 What is an IdM and why should I install one?
 What is the architecture of FIWARE IdM GE?
 Installing KeyRock
• Step-by-step
• Installation tools
 Configuring KeyRock
• Development environment
• Production environment
 Administrating KeyRock
32
33
Contact us!
Open an Issue in GitHub:
https://github.com/ging/fiware-idm
E-mail & Help Desk
Here at the Summit!!
Thank you!
http://fiware.org
Follow @FIWARE on Twitter

More Related Content

ODP
Deploy Mediawiki Using FIWARE Lab Facilities
PPTX
Building Your Own IoT Platform using FIWARE GEis
PPTX
How to deploy spark instance using ansible 2.0 in fiware lab v2
PDF
The 'Serverless' Paradigm, OpenWhisk and FIWARE
PPTX
Simple docker hosting on fiware lab
PPTX
Fiware cloud developers week brussels
PPTX
FIWARE Primer - Learn FIWARE in 60 Minutes
PPTX
Secure Keystone Deployment
Deploy Mediawiki Using FIWARE Lab Facilities
Building Your Own IoT Platform using FIWARE GEis
How to deploy spark instance using ansible 2.0 in fiware lab v2
The 'Serverless' Paradigm, OpenWhisk and FIWARE
Simple docker hosting on fiware lab
Fiware cloud developers week brussels
FIWARE Primer - Learn FIWARE in 60 Minutes
Secure Keystone Deployment

What's hot (20)

PDF
Setting up your virtual infrastructure using fi-lab cloud
PPTX
Security Walls in Linux Environment: Practice, Experience, and Results
PPTX
OpenStack GDL : Hacking keystone | 20 Octubre 2014
PPTX
Building Better Backdoors with WMI - DerbyCon 2017
PDF
BlueHat v17 || Corrupting Memory in Microsoft Office Protected-View Sandbox
PDF
Puppet day v1.1
PDF
Présentation et démo ELK/SIEM/Wazuh
PPT
Container security
PDF
Developing your own OpenStack Swift middleware
PDF
Via forensics icloud-keychain_passwords_13
PDF
[DefCon 2016] I got 99 Problems, but 
Little Snitch ain’t one!
PPTX
BlueHat v17 || Dyre to Trickbot: An Inside Look at TLS-Encrypted Command-And-...
PPTX
Introducing bastion hosts for oracle cloud infrastructure v1.0
PDF
BlueHat v17 || Detecting Compromise on Windows Endpoints with Osquery
PDF
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
PDF
Control Plane: Continuous Kubernetes Security (DevSecOps - London Gathering, ...
PPTX
Securing Hadoop with OSSEC
PDF
Provisioning with OSGi Subsystems and Repository using Apache Aries and Felix
PPTX
BlueHat v17 || Scaling Incident Response - 5 Keys to Successful Defense at S...
PDF
ADRecon - Detection CHCON 2018
Setting up your virtual infrastructure using fi-lab cloud
Security Walls in Linux Environment: Practice, Experience, and Results
OpenStack GDL : Hacking keystone | 20 Octubre 2014
Building Better Backdoors with WMI - DerbyCon 2017
BlueHat v17 || Corrupting Memory in Microsoft Office Protected-View Sandbox
Puppet day v1.1
Présentation et démo ELK/SIEM/Wazuh
Container security
Developing your own OpenStack Swift middleware
Via forensics icloud-keychain_passwords_13
[DefCon 2016] I got 99 Problems, but 
Little Snitch ain’t one!
BlueHat v17 || Dyre to Trickbot: An Inside Look at TLS-Encrypted Command-And-...
Introducing bastion hosts for oracle cloud infrastructure v1.0
BlueHat v17 || Detecting Compromise on Windows Endpoints with Osquery
Chickens & Eggs: Managing secrets in AWS with Hashicorp Vault
Control Plane: Continuous Kubernetes Security (DevSecOps - London Gathering, ...
Securing Hadoop with OSSEC
Provisioning with OSGi Subsystems and Repository using Apache Aries and Felix
BlueHat v17 || Scaling Incident Response - 5 Keys to Successful Defense at S...
ADRecon - Detection CHCON 2018
Ad

Viewers also liked (20)

PDF
FIWARE ID Management
PPTX
How to Deploy Spark Instance Using Ansible 2.0 in FIWARE Lab
PPTX
How to Contribute to FIWARE
PDF
IMPACT Growth
PDF
Why Should I Trust on FIWARE?
PDF
Smartappcity at the FIWARE Summit
PPTX
FIWARE Mundus Ecosystem Support Committee: The Road Ahead
PPTX
NGSI: Geoqueries & Carto integration
PPTX
Spanish AgriFood Cooperatives
PPTX
NGSIv2 Overview for Developers that Already Know NGSIv1
PPTX
FIWARE iHubs: the road ahead
PPTX
FIWARE Zone
PPTX
FIWARE Summit - conclusions
PPTX
FIWARE Accelerate Next Steps
PPTX
FIWARE: the best is yet to come
PPTX
FIWARE for Smart Cities: City of Ancona - Parking Advisor
PPTX
FIWARE Accelerate
PPTX
FIWARE for Smart Industry
PPTX
The FIWARE Marketplace
PDF
FIWARE IoT Ready Programme
FIWARE ID Management
How to Deploy Spark Instance Using Ansible 2.0 in FIWARE Lab
How to Contribute to FIWARE
IMPACT Growth
Why Should I Trust on FIWARE?
Smartappcity at the FIWARE Summit
FIWARE Mundus Ecosystem Support Committee: The Road Ahead
NGSI: Geoqueries & Carto integration
Spanish AgriFood Cooperatives
NGSIv2 Overview for Developers that Already Know NGSIv1
FIWARE iHubs: the road ahead
FIWARE Zone
FIWARE Summit - conclusions
FIWARE Accelerate Next Steps
FIWARE: the best is yet to come
FIWARE for Smart Cities: City of Ancona - Parking Advisor
FIWARE Accelerate
FIWARE for Smart Industry
The FIWARE Marketplace
FIWARE IoT Ready Programme
Ad

Similar to How to Install & Configure Your Own Identity Manager GE (20)

PPTX
Lesson 5 - Installing Keyrock in your own infrastructure
PPTX
Identity service keystone ppt
PDF
Integrating Fiware Orion, Keyrock and Wilma
PPTX
Aptira presents OpenStack keystone identity service
PDF
OpenStack keystone identity service
PPT
Openshift + Openstack + Fedora = Awesome
PDF
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
PDF
Openstack 2013 1
PPTX
KeyRock and Wilma - Openstack-based Identity Management in FIWARE
PPTX
Intro to the FIWARE Lab
PPTX
Setting up your virtual infrastructure using FIWARE Lab Cloud
PDF
Open shift origin openshift openstack fedora awesome
PPT
Presentation-final
PPTX
Keyrock - Lesson 1. Introduction
PPTX
Setting up your virtual infrastructure using FIWARE Lab Cloud
PPTX
Coding with-fiware-quick tour - cloud
PDF
OpenStack Identity - Keystone (kilo) by Lorenzo Carnevale and Silvio Tavilla
ODP
Openstack keystone-130319161514-phpapp02
PPTX
Webinar: ForgeRock Identity Platform Preview (Dec 2015)
PPTX
Securing Your Deployment with MongoDB and Red Hat's Identity Management in Re...
Lesson 5 - Installing Keyrock in your own infrastructure
Identity service keystone ppt
Integrating Fiware Orion, Keyrock and Wilma
Aptira presents OpenStack keystone identity service
OpenStack keystone identity service
Openshift + Openstack + Fedora = Awesome
OpenStack Identity - Keystone (liberty) by Lorenzo Carnevale and Silvio Tavilla
Openstack 2013 1
KeyRock and Wilma - Openstack-based Identity Management in FIWARE
Intro to the FIWARE Lab
Setting up your virtual infrastructure using FIWARE Lab Cloud
Open shift origin openshift openstack fedora awesome
Presentation-final
Keyrock - Lesson 1. Introduction
Setting up your virtual infrastructure using FIWARE Lab Cloud
Coding with-fiware-quick tour - cloud
OpenStack Identity - Keystone (kilo) by Lorenzo Carnevale and Silvio Tavilla
Openstack keystone-130319161514-phpapp02
Webinar: ForgeRock Identity Platform Preview (Dec 2015)
Securing Your Deployment with MongoDB and Red Hat's Identity Management in Re...

More from FIWARE (20)

PPTX
Behm_Herne_NeMo_akt.pptx
PDF
Katharina Hogrebe Herne Digital Days.pdf
PPTX
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
PPTX
Behm_Herne_NeMo.pptx
PPTX
Evangelists + iHubs Promo Slides.pptx
PPTX
Lukas Künzel Smart City Operating System.pptx
PPTX
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
PPTX
Dennis Wendland_The i4Trust Collaboration Programme.pptx
PPTX
Ulrich Ahle_FIWARE.pptx
PPTX
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
PDF
Water Quality - Lukas Kuenzel.pdf
PPTX
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
PPTX
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
PPTX
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
PPTX
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
PDF
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
PDF
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
PPTX
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
PPTX
WE_LoRaWAN _ IoT.pptx
PPTX
EU Opp_Clara Pezuela - German chapter.pptx
Behm_Herne_NeMo_akt.pptx
Katharina Hogrebe Herne Digital Days.pdf
Christoph Mertens_IDSA_Introduction to Data Spaces.pptx
Behm_Herne_NeMo.pptx
Evangelists + iHubs Promo Slides.pptx
Lukas Künzel Smart City Operating System.pptx
Pierre Golz Der Transformationsprozess im Konzern Stadt.pptx
Dennis Wendland_The i4Trust Collaboration Programme.pptx
Ulrich Ahle_FIWARE.pptx
Aleksandar Vrglevski _FIWARE DACH_OSIH.pptx
Water Quality - Lukas Kuenzel.pdf
Cameron Brooks_FGS23_FIWARE Summit_Keynote_Cameron.pptx
FiWareSummit.msGIS-Data-to-Value.2023.06.12.pptx
Boris Otto_FGS2023_Opening- EU Innovations from Data_PUB_V1_BOt.pptx
Bjoern de Vidts_FGS23_Opening_athumi - bjord de vidts - personal data spaces....
Abdulrahman Ibrahim_FGS23 Opening - Abdulrahman Ibrahim.pdf
FGS2023_Opening_Red Hat Keynote Andrea Battaglia.pdf
HTAG_Skalierung_Plattform_lokal_final_versand.pptx
WE_LoRaWAN _ IoT.pptx
EU Opp_Clara Pezuela - German chapter.pptx

Recently uploaded (20)

PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
E -tech empowerment technologies PowerPoint
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
SAP Ariba Sourcing PPT for learning material
PPT
tcp ip networks nd ip layering assotred slides
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
Funds Management Learning Material for Beg
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
international classification of diseases ICD-10 review PPT.pptx
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Module 1 - Cyber Law and Ethics 101.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
Job_Card_System_Styled_lorem_ipsum_.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
An introduction to the IFRS (ISSB) Stndards.pdf
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Mathew Digital SEO Checklist Guidlines 2025
E -tech empowerment technologies PowerPoint
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
SAP Ariba Sourcing PPT for learning material
tcp ip networks nd ip layering assotred slides
Power Point - Lesson 3_2.pptx grad school presentation
Funds Management Learning Material for Beg
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PptxGenJS_Demo_Chart_20250317130215833.pptx

How to Install & Configure Your Own Identity Manager GE

  • 1. How to Install and Configure your own Identity Manager GE Álvaro Alonso – Federico Fernández Security Team Technical University of Madrid (UPM) aalonsog@dit.upm.es – fefernandez@dit.upm.es
  • 2. Outline  Introduction  KeyRock Architecture  Installing and Configuring KeyRock  Demo 1
  • 3. Why do I need an Identity Manager? 2
  • 4. What is an Identity Manager? 3
  • 5. Why should I install FIWARE Identity Manager GE? 4
  • 6. KeyRock GE: features  Users  Organizations  Authorization via roles  Applications and OAuth  IoT identity management  OpenStack services  Admin tools  SCIM API 5
  • 9. KeyRock Architecture: Horizon  Front-end view  Based on OpenStack Horizon  User views  Contains… • Oauth2 Driver • reCAPTCHA • FIWARE Accounts • Admin Tools • AuthZForce Driver  Extra dependencies • Python Keystoneclient • Django OpenStack Auth 8 Horizon Keystone DB
  • 10. KeyRock Architecture: Keystone  Back-end component  Resources management  Connection to database  Extensions • OAuth2 • SCIM 2.0 • User registration • Two factor authentication 9 Horizon Keystone DB
  • 11. KeyRock Architecture: Database  For development:  For deployment: 10 Horizon Keystone DB
  • 13. Documentation & Source Code  Quick Installation Guide • http://fiware-idm.readthedocs.io/en/latest/introduction.html#how-to-build- install  Detailed Installation Guide • http://fiware-idm.readthedocs.io/en/latest/admin_guide.html#step-by- step-installation  GitHub • https://github.com/ging/fiware-idm • https://github.com/ging/horizon • https://github.com/ging/keystone  API description • http://docs.keyrock.apiary.io 12
  • 15. Installing the back-end 1. Install Ubuntu dependencies 1. 14.04 LTS fully supported 2. 16.04 LTS should work 2. Get the code 3. Install Python dependencies 4. Create a configuration file 14
  • 16. 5. Create the tables and populate the database Creation of the idm user account 15 Installing the back-end
  • 17. 5. Create the tables and populate the database Creation of the idm user account 6. That’s it!! 16 Installing the back-end
  • 18. 1. Install Ubuntu dependencies 2. Get the code 3. Create a configuration file 4. Install Python dependencies 17 Installing the front-end
  • 19. 1. Install Ubuntu dependencies 2. Get the code 3. Create a configuration file 4. Install Python dependencies 5. That’s it! 18 Installing the front-end
  • 20. Installing Keyrock Good News  Installation tools to ease the process  Bash script • Idm user: idm • Idm psswd: idm • Keystone port: 5000 • Horizon port: 8000  Docker image  Chef cookbook 19
  • 22. Configuring the back-end  Admin token  Admin port  Public port  Configure authorization, roles… 21
  • 23. Configuring the front-end  Credentials for idm user  reCAPTCHA  Accont expiration 22
  • 24. Configuring the front-end  AJAX pagination  Connection with Access Control GE 23
  • 25. Considerations for production environments  Do not run Horizon from the dev server  Do not run KeyRock without having enabled reCAPTCHA  Do not use SQLite  Do not forget about the emails!  Do not run Keystone in dev mode 24  Do run Horizon under Apache+mod_wsgi  Do enable reCAPTCHA  Do use some production- ready DB engine (MySQL)  Do set up an SMTP server to send mails (POSTFIX)  Do set up Keystone as a service
  • 26. Production env: MySQL  Configure the new SQL backend in Keystone  Grant privileges to database 25
  • 27. Production env: email This will get the settings from the default SMTP server in your host 26
  • 28. Production env: setting up Keystone as a service  It works like any other Linux service Create a /etc/init/ keystone_idm.conf file To run the service... 27
  • 29. Production env: CORS  Whitelist to restritc access to all the endpoints in the front- end  Django signal to allow everyone access only some of the endpoints 28
  • 31. Administrating KeyRock 30 $ git clone https://github.com/ging/fiware-idm imd-admin && cd imd-admin $ sudo pip install -r requirements.txt $ sudo python setup.py install $ idm-admin --help
  • 33. Achievements  What is an IdM and why should I install one?  What is the architecture of FIWARE IdM GE?  Installing KeyRock • Step-by-step • Installation tools  Configuring KeyRock • Development environment • Production environment  Administrating KeyRock 32
  • 34. 33 Contact us! Open an Issue in GitHub: https://github.com/ging/fiware-idm E-mail & Help Desk Here at the Summit!!