Adding Federated Identity Management to Openstack



Similar documents
ABFAB and OpenStack(in the Cloud)

Adding Federated Identity Management to OpenStack

Cloud on TEIN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat University

Cloud federation. Prelude to Hybrid Clouds. CHEP 2015 Okinawa, Japan. Marek Denis CERN Geneva, Switzerland

Cloud Computing using

Flexible Identity Federation

OpenStack Introduction. November 4, 2015

การใช งานและต ดต งระบบ OpenStack ซอฟต แวร สาหร บบร หารจ ดการ Cloud Computing เบ องต น

Today. 1. Private Clouds. Private Cloud toolkits. Private Clouds and OpenStack Introduction

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

Mobile Cloud Computing T Open Source IaaS

OpenStack IaaS. Rhys Oxenham OSEC.pl BarCamp, Warsaw, Poland November 2013

Cloud Essentials for Architects using OpenStack

KVM, OpenStack, and the Open Cloud

Ubuntu OpenStack Fundamentals Training

Introduction to OpenStack

Identity Management in Liferay Overview and Best Practices. Liferay Portal 6.0 EE

Configuring Keystone in OpenStack (Essex)

OpenAM All-In-One solution to securely manage access to digital enterprise and customer services, anytime and anywhere.

TIB 2.0 Administration Functions Overview

CloudCIX Bootcamp. The essential IaaS getting started guide.

SuperVessel: The Open Cloud Service for OpenPOWER

IGI Portal architecture and interaction with a CA- online

cloud functionality: advantages and Disadvantages

KVM, OpenStack, and the Open Cloud

How to create a SP and a IDP which are visible across tenant space via Config files in IS

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

An Intro to OpenStack. Ian Lawson Senior Solution Architect, Red Hat

Software Defined Networking (SDN) and OpenStack. Christian Koenning

Block Storage in the Open Source Cloud called OpenStack

Adding Federated Identity Management to OpenStack s Keystone Client.

CLOUDSTACK VS OPENSTACK. Apache CloudStack: It Just Works for Service Providers

Wojciech Furmankiewicz Senior Solution Architect Red Hat CEE

AAI for Mobile Apps How mobile Apps can use SAML Authentication and Attributes. Lukas Hämmerle

HP OpenStack & Automation

IVOA Single-Sign-On Profile: Authentication Mechanisms Version 2.0

OpenStack. Orgad Kimchi. Principal Software Engineer. Oracle ISV Engineering. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Copyright 2014, Oracle and/or its affiliates. All rights reserved. 2

Copyright Pivotal Software Inc, of 10

Cloud Computing. Chapter 5 Identity as a Service (IDaaS)

Authentication Methods

RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM

Cloud Security Through Threat Modeling. Robert M. Zigweid Director of Services for IOActive

SDN v praxi overlay sítí pro OpenStack Daniel Prchal daniel.prchal@hpe.com

White Paper. Deploying and Provisioning Databases in the Cloud: How Tesora s Database as a Service (DBaaS) Platform is Transforming Enterprise IT

Isabell Sippli Cloud Architect, Lab Based Services IBM Software Group 2013 IBM Corporation

SSO Plugin. Release notes. J System Solutions. Version 3.6

MY1LOGIN SOLUTION BRIEF: PROVISIONING. Automated Provisioning of Users Access to Apps

Swivel Secure and the Cloud

Nessus or Metasploit: Security Assessment of OpenStack Cloud

ICCLab. Future Internet Research and Cloud Computing. Thomas Michael Bohnert, Christof Marti, Andy Edmonds

Installation and Configuration Guide

Identity, Privacy, and Data Protection in the Cloud XACML. David Brossard Product Manager, Axiomatics

Entrust IdentityGuard Comprehensive

Cloud on TIEN Part I: OpenStack Cloud Deployment. Vasinee Siripoonya Electronic Government Agency of Thailand Kasidit Chanchio Thammasat

FUJITSU Software ServerView Cloud Monitoring Manager V1 Introduction

Information Security Group Active-client based identity management

INF3510 Information Security University of Oslo Spring Lecture 8 Identity and Access Management. Audun Jøsang

KVM, OpenStack and the Open Cloud SUSECon November 2015

Compiled By: Chris Presland v th September. Revision History Phil Underwood v1.1

Belnet Networking Conference 2013

Design and Implementation of IaaS platform based on tool migration Wei Ding

How To Install Openstack On Ubuntu (Amd64)

managing SSO with shared credentials

The Top 5 Federated Single Sign-On Scenarios

Federated Authentication and Credential Translation in the EUDAT Collaborative Data Infrastructure

Kerberos-Based Authentication for OpenStack Cloud Infrastructure as a Service

Openstack. Cloud computing with Openstack. Saverio Proto

The saga of WebFTS and Federated Identity

OpenStack Awareness Session

How To Use Openstack On Your Laptop

UNI. UNIfied identity management. Krzysztof Benedyczak ICM, Warsaw University

Group-Based Policy for OpenStack

IBM WebSphere Application Server

OpenStack: we drink our own Champagne. Teun Docter Software developer

Federated Identity Management. Willem Elbers (MPI-TLA) EUDAT training

Building a Cloud Computing Platform based on Open Source Software Donghoon Kim ( donghoon.kim@kt.com ) Yoonbum Huh ( huhbum@kt.

Appendix to; Assessing Systemic Risk to Cloud Computing Technology as Complex Interconnected Systems of Systems

White Paper. Authentication and Access Control - The Cornerstone of Information Security. Vinay Purohit September Trianz 2008 White Paper Page 1

OpenStack An Open Cloud for an Open Data World IBM s Contributions, Commitments & Products

Masdar Institute Single Sign-On: Standards-based Identity Federation. John Mikhael ICT Department

SAML-Based SSO Solution

Transcription:

Adding Federated Identity Management to Openstack David Chadwick d.w.chadwick@kent.ac.uk 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 1

OpenStack Large open source project to develop cloud software Latest statistics: 15770 people from 136 countries (3 April 2014) Supported by most large IT companies e.g. Dell, HP, RedHat, IBM, Ubuntu, AT&T, Cisco, Hitachi, NEC, Huawei, Intel, Juniper, Yahoo, Ericsson etc. etc. 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 2

OpenStackServices (Projectnames) Compute Nova, IaaS fabric controller Storage Swift, object storage Network Neutron, network and IP management Dashboard Horizon, user web based interface to OpenStack services Identity Keystone, user identity service Image Glance, for discovering, registering, and retrieving virtual machine images Orchestration Heat, orchestration engine to launch multiple cloud applications based on templates 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 3

Authentication in OpenStack Keystone User database User Trust Relationship 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC OpenStack Services Swift/Nova etc. 4

Authorisation in OpenStack Keystone token contains user s ID and roles Services then use either user s roles and RBAC to grant access to resources, or user s ID and DAC In order to add FIM to OpenStackwe do not need to change any of the OpenStackservices provided Keystone still returns the same token as in the non-federated case Services will be ignorant of federation 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 5

Why Do Federation? Makes it easier for users Less credentials to remember/manage Provides single sign on Makes it easier for system developers Don t need to develop secure credential storage or authentication mechanisms and protocols Provides much more flexibility Allows any type of authentication mechanism to be easily incorporated since it is out of scope of the federation protocol and OpenStack code Can make it more secure Users can have one set of strong credentials, so less likely to share them, forget them etc. No longer a honeypot of credentials to be stolen by attackers Makes it easier for operations/administration staff No need to register new users, replace lost or forgotten credentials, remove old users 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 6

What is Federated Identity Management? FIM is primarily about trust management But the UK Access Management Federation was purposefully created to require zero trust in each member who joined All that was required was technical trust in each member i.e. implemented SAML correctly There is an optional clause concerning trust in identity, but no technical way of validating this initially When we added FIM to OpenStacksome of the commercial developers thought FIM was about implementing SAML and disregarded trust management 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 7

Guiding Principles Keep it simple for OpenStack Service Providers (CSPs) All FIM should be done by Keystone (trust management, protocol validation etc.) Backwards Compatibility Each OpenStack service should keeps it existing tenants and roles for authz and trusts Keystone to correctly issue them to users Keystone must manage all trust relationships with the external IdPsand AAs No Religion Please We believe in federation protocols But we don t care what it is called: OAuthv1, OAuthv2, SAMLv1, SAMLv2, X.509, eduroam, OpenID, IETF ABFAB <enter the name of the next federation protocol here> Federation protocol should be a plugin module 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 8

FIM in OpenStack We implemented FIM in OpenStackto be all about trust management and be independent of the federation protocol (SAML, OpenID, ABFAB etc.) 3 trust components to our initial implementation: Manage the IdPs that are trusted to authenticate users AUTHENTICATION TRUST Manage the identity attributes that an IdPis trusted to assert IDENTIFICATION TRUST Manage the mappings of trusted identity attributes into OpenStack authz attributes AUTHORISATION TRUST We also need to manage the LoAin each IdPand in each attribute, but this is currently a step too far for the OpenStackdevelopers (though LoAin an IdPcan be fudged by converting it into an identity attribute) 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 9

Federated Authnwith External IdPs External IdP User Trust Relationship 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC Keystone 10

IETF ABFAB SAML EAP Profile Picture courtesy of BeSTGRID University of Auckland, NZ 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 11

One Protocol Specific Plugin Module Three methods Get IdPRequest protocol specific request to IdP [ Negotiate Parameters optional for those protocols that need it, like ABFAB] Validate IdPResponse protocol specific way of validating IdP s response Common output at the end 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 12

Protocol Output Federation wide Unique ID of end user e.g. useruid@idp Set of {Set of user identity attributes and name of IdP that asserted them} Caters for attribute aggregation LoAcan be included as an identity attribute Validity time of asserted identity 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 13

Getting our Implementation Accepted in Core OpenStackRelease Very difficult, has taken 2 years since we started our work In April 2014 the OpenStackIceHouserelease will have basic support for FIM, but using an Apache front end to handle the FIM protocol and OpenStackas a backend service, and attribute mapping based on our design Apache will pass the ID and identity attributes of the user to OpenStack via Http header attributes 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 14

Next Steps Integral support for FIM in Openstack Apache does not support some FIM protocols e.g. IETF ABFAB and SAML ECP profile End to end security from IdPto Keystone Support for Virtual Organisations 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 15

Problem 1 User Access Rights Not all users from one IdPshould have the same access rights at an SP (e.g. OpenStack cloud) Different users from different IdPsmay have the same access rights at an SP Solution 1. Give different users different identity attributes By updating the IdP Solution 2. Create a Virtual Organisation (VO) where different users from different IdPsmay have the same identity attributes (or roles) Requires updating the IdPsor creating a VO service Solution 3. Add attribute mappings at the SP based on the user s unique federation ID and identity attributes Requires updating the SP 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 16

Problem 2 Updating the IdPAsserted Attributes IdPs will not assert the attributes that SPs need Organisational IdPstypically store user s attributes in corporate LDAP servers, and these are fixed for use by the organisation Its very difficult (almost impossible?) for SPs to get the specific attributes they need for authzto be added to corporate LDAP servers Federated Solution standardise a set of user identity attributes that all IdPswill issue and all SPs will consume e.g. EduPerson schema, but this is too restrictive Grid Solution -the Virtual Organisation Management Service (VOMS) that allows a VO administrator to give tailored roles to VO users (from different organisations) Need attribute aggregation or VOMS to become an IdP 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 17

Integrating VO Management into Keystone Use the federation attribute mapping service to form VO roles/groups Attribute Mapping User 1 IDP 1 Fe Id Atts Keystone Groups Keystone IDP 2 User 2 A Federation Some VO OpenStack Service 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 18

Mapping Issue VO Administrator typically does not know what attributes or unique ID the IdPswill assert for each VO member Neither does the user unless it is a globally unique name like ABFAB Network Access Identifier - username@realm but still may not know which attributes are being asserted Solution VO Role Registration by Invitation 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 19

Invite Users to Register to a VO Role VO Administrator creates a Keystone group (VO role) and gives it permissions (domains, projects, roles) Sends group name and PIN to invited VO members out of band VO member authenticates to Keystone via his/her IdP Asks to join group and provides PIN Keystone automatically creates a mapping rule from user s unique IdPasserted ID to group name (or can be held in pending queue for admin to OK it first) 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 20

Publication David W. Chadwick, Kristy Siu, Craig Lee, Yann Fouillat, Damien Germonville. Adding Federated Identity Management to OpenStack. Journal of Grid Computing. Dec 2013. http://dx.doi.org/10.1007/s10723-013-9283-2 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 21

Any Questions 5 April 2014 Cloud Computing Security and Identity Workshop, NMOC 22