SlideShare uma empresa Scribd logo
1 de 9
Baixar para ler offline
Integration between
Cloudstack and
Openstack




Will Stevens
David Chamard         sponsored by
Introducing Cloudstack
Cloudstack in 5 seconds:
An Apache licensed, open source compute
stack (like Nova), mostly built in JAVA.

What integration currently exists between
openstack and cloudstack: Storing VM
snapshots and templates (image files) to Swift.

What is missing: Front-end UI and
authentication between the two systems.
Love for Openstack and Cloudstack




     CS + OS
What is cs_auth?
● Swift authentication middleware.

● Authenticate users via the Cloudstack API.

● Leverage Cloudstack's user management
  rather than introducing another auth system.

● Removes the need to populate and sync
  multiple databases for account information.
Overview of cs_auth
● Handles S3 requests via the swift3 middleware.

● Implements ACL, including public containers.

● Uses Memcached for caching the user's identity.

● Works out of the box with common tools:
   ○   Cyberduck
   ○   Swift Bench
   ○   Swift Dispersion
   ○   Swift Recon
Request Flow
Anatomy of cs_auth
token = hashlib.sha224('%s%s' % (cs['secretkey'], cs['apikey'])).hexdigest()

if self.reseller_prefix != '':
      account_url = '%s/v1/%s_%s' % 
            (self.storage_url, self.reseller_prefix, quote(cs['account']))
else:
      account_url = '%s/v1/%s' % (self.storage_url, quote(cs['account']))

identity = dict({
     'username':cs['username'],
     'account':cs['account'],
     'token':token,
     'account_url':account_url,
     'domain':dict({ 'id':cs['domainid'], 'name':cs['domain'] }),
     'roles':[self.cs_roles[cs['accounttype']], cs['account']],
     'expires':expires
})
Additional considerations
● Still need a UI for Swift in Cloudstack.

● Need to work with the swift and keystone
  teams to improve ACL support for S3 calls.
Get the code...
http://cloudops.github.com/cs_auth/

Mais conteúdo relacionado

Mais procurados

Cервер на Go для мобильной стратегии
Cервер на Go для мобильной стратегииCервер на Go для мобильной стратегии
Cервер на Go для мобильной стратегииArtem Kovardin
 
Simple blog wall creation on Java
Simple blog wall creation on JavaSimple blog wall creation on Java
Simple blog wall creation on JavaMax Titov
 
An Introduction to Jquery
An Introduction to JqueryAn Introduction to Jquery
An Introduction to JqueryPhil Reither
 
Php update and delet operation
Php update and delet operationPhp update and delet operation
Php update and delet operationsyeda zoya mehdi
 
SITCON 雲林定期聚 #1
SITCON 雲林定期聚 #1SITCON 雲林定期聚 #1
SITCON 雲林定期聚 #1Ting-You Xu
 
Aalifassura 170209203254
Aalifassura 170209203254Aalifassura 170209203254
Aalifassura 170209203254Aztexain
 
Big Data for each one of us
Big Data for each one of usBig Data for each one of us
Big Data for each one of usOSCON Byrum
 
Web client security
Web client securityWeb client security
Web client securityZiv Birer
 
CIS 2015b FIDO U2F in 10 minutes - Dirk Balfanz
CIS 2015b FIDO U2F in 10 minutes - Dirk BalfanzCIS 2015b FIDO U2F in 10 minutes - Dirk Balfanz
CIS 2015b FIDO U2F in 10 minutes - Dirk BalfanzCloudIDSummit
 
MySQL flexible schema and JSON for Internet of Things
MySQL flexible schema and JSON for Internet of ThingsMySQL flexible schema and JSON for Internet of Things
MySQL flexible schema and JSON for Internet of ThingsAlexander Rubin
 

Mais procurados (12)

Basedatos2
Basedatos2Basedatos2
Basedatos2
 
Cервер на Go для мобильной стратегии
Cервер на Go для мобильной стратегииCервер на Go для мобильной стратегии
Cервер на Go для мобильной стратегии
 
Simple blog wall creation on Java
Simple blog wall creation on JavaSimple blog wall creation on Java
Simple blog wall creation on Java
 
An Introduction to Jquery
An Introduction to JqueryAn Introduction to Jquery
An Introduction to Jquery
 
Php update and delet operation
Php update and delet operationPhp update and delet operation
Php update and delet operation
 
SITCON 雲林定期聚 #1
SITCON 雲林定期聚 #1SITCON 雲林定期聚 #1
SITCON 雲林定期聚 #1
 
Aalifassura 170209203254
Aalifassura 170209203254Aalifassura 170209203254
Aalifassura 170209203254
 
Big Data for each one of us
Big Data for each one of usBig Data for each one of us
Big Data for each one of us
 
C SQLite usage
C SQLite usageC SQLite usage
C SQLite usage
 
Web client security
Web client securityWeb client security
Web client security
 
CIS 2015b FIDO U2F in 10 minutes - Dirk Balfanz
CIS 2015b FIDO U2F in 10 minutes - Dirk BalfanzCIS 2015b FIDO U2F in 10 minutes - Dirk Balfanz
CIS 2015b FIDO U2F in 10 minutes - Dirk Balfanz
 
MySQL flexible schema and JSON for Internet of Things
MySQL flexible schema and JSON for Internet of ThingsMySQL flexible schema and JSON for Internet of Things
MySQL flexible schema and JSON for Internet of Things
 

Destaque

Educ 515 W1
Educ 515 W1Educ 515 W1
Educ 515 W1lancesfa
 
Kap. 6 Og 7 Den Femte Grunnleggende Ferdighet
Kap. 6 Og 7 Den Femte Grunnleggende FerdighetKap. 6 Og 7 Den Femte Grunnleggende Ferdighet
Kap. 6 Og 7 Den Femte Grunnleggende FerdighetJeanette Tranberg
 
Grammar Special Plural Nouns
Grammar Special Plural NounsGrammar Special Plural Nouns
Grammar Special Plural Nounslancesfa
 
Mobile Telephone Market Segments
Mobile Telephone Market SegmentsMobile Telephone Market Segments
Mobile Telephone Market Segmentscraig lefebvre
 
Update of Social Marketing Organization
Update of Social Marketing OrganizationUpdate of Social Marketing Organization
Update of Social Marketing Organizationcraig lefebvre
 
Religions Og Livssynsdidaktikk Kap4
Religions Og Livssynsdidaktikk Kap4Religions Og Livssynsdidaktikk Kap4
Religions Og Livssynsdidaktikk Kap4Jeanette Tranberg
 
BT Applying
BT ApplyingBT Applying
BT Applyinglancesfa
 
Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...
Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...
Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...Steve McCarty
 
SharePoint Business Value - A model behind the madness
SharePoint Business Value - A model behind the madnessSharePoint Business Value - A model behind the madness
SharePoint Business Value - A model behind the madnessAntony Clay
 
Providing Patients with Access to their Personal Medical Records On-The-Go
Providing Patients with Access to their Personal Medical Records On-The-GoProviding Patients with Access to their Personal Medical Records On-The-Go
Providing Patients with Access to their Personal Medical Records On-The-GoNrip Nihalani
 
Registering for Connect Writing (ENG091)
Registering for Connect Writing (ENG091)Registering for Connect Writing (ENG091)
Registering for Connect Writing (ENG091)Alisa Cooper
 
PARC CSL Colloquium
PARC CSL ColloquiumPARC CSL Colloquium
PARC CSL Colloquiummor
 
Elevens Tekst Tekstbegrepet Kap 3
Elevens Tekst Tekstbegrepet Kap 3Elevens Tekst Tekstbegrepet Kap 3
Elevens Tekst Tekstbegrepet Kap 3Jeanette Tranberg
 
Bt Understanding
Bt UnderstandingBt Understanding
Bt Understandinglancesfa
 
Stop Doing SharePoint Projects
Stop Doing SharePoint ProjectsStop Doing SharePoint Projects
Stop Doing SharePoint ProjectsAntony Clay
 
Leadership Conversations
Leadership ConversationsLeadership Conversations
Leadership ConversationsAntony Clay
 
Social Media: Strategic Shift or Tactical Tool?
Social Media: Strategic Shift or Tactical Tool?Social Media: Strategic Shift or Tactical Tool?
Social Media: Strategic Shift or Tactical Tool?craig lefebvre
 
The Importance of a SharePoint Vision - Raona Business Value Event
The Importance of a SharePoint Vision - Raona Business Value EventThe Importance of a SharePoint Vision - Raona Business Value Event
The Importance of a SharePoint Vision - Raona Business Value EventAntony Clay
 

Destaque (20)

Educ 515 W1
Educ 515 W1Educ 515 W1
Educ 515 W1
 
Kap. 6 Og 7 Den Femte Grunnleggende Ferdighet
Kap. 6 Og 7 Den Femte Grunnleggende FerdighetKap. 6 Og 7 Den Femte Grunnleggende Ferdighet
Kap. 6 Og 7 Den Femte Grunnleggende Ferdighet
 
Grammar Special Plural Nouns
Grammar Special Plural NounsGrammar Special Plural Nouns
Grammar Special Plural Nouns
 
Mobile Telephone Market Segments
Mobile Telephone Market SegmentsMobile Telephone Market Segments
Mobile Telephone Market Segments
 
Update of Social Marketing Organization
Update of Social Marketing OrganizationUpdate of Social Marketing Organization
Update of Social Marketing Organization
 
Religions Og Livssynsdidaktikk Kap4
Religions Og Livssynsdidaktikk Kap4Religions Og Livssynsdidaktikk Kap4
Religions Og Livssynsdidaktikk Kap4
 
BT Applying
BT ApplyingBT Applying
BT Applying
 
Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...
Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...
Overcoming Face-to-Face Dependence in Distance Education: Gender and Cultural...
 
SharePoint Business Value - A model behind the madness
SharePoint Business Value - A model behind the madnessSharePoint Business Value - A model behind the madness
SharePoint Business Value - A model behind the madness
 
Yack Pack
Yack PackYack Pack
Yack Pack
 
Providing Patients with Access to their Personal Medical Records On-The-Go
Providing Patients with Access to their Personal Medical Records On-The-GoProviding Patients with Access to their Personal Medical Records On-The-Go
Providing Patients with Access to their Personal Medical Records On-The-Go
 
Registering for Connect Writing (ENG091)
Registering for Connect Writing (ENG091)Registering for Connect Writing (ENG091)
Registering for Connect Writing (ENG091)
 
PARC CSL Colloquium
PARC CSL ColloquiumPARC CSL Colloquium
PARC CSL Colloquium
 
Elevens Tekst Tekstbegrepet Kap 3
Elevens Tekst Tekstbegrepet Kap 3Elevens Tekst Tekstbegrepet Kap 3
Elevens Tekst Tekstbegrepet Kap 3
 
Bt Understanding
Bt UnderstandingBt Understanding
Bt Understanding
 
Stop Doing SharePoint Projects
Stop Doing SharePoint ProjectsStop Doing SharePoint Projects
Stop Doing SharePoint Projects
 
Leadership Conversations
Leadership ConversationsLeadership Conversations
Leadership Conversations
 
Social Media: Strategic Shift or Tactical Tool?
Social Media: Strategic Shift or Tactical Tool?Social Media: Strategic Shift or Tactical Tool?
Social Media: Strategic Shift or Tactical Tool?
 
Spraakets
SpraaketsSpraakets
Spraakets
 
The Importance of a SharePoint Vision - Raona Business Value Event
The Importance of a SharePoint Vision - Raona Business Value EventThe Importance of a SharePoint Vision - Raona Business Value Event
The Importance of a SharePoint Vision - Raona Business Value Event
 

Semelhante a Cloud.ca and CloudOps cs_auth

FwDays 2021: Metarhia Technology Stack for Node.js
FwDays 2021: Metarhia Technology Stack for Node.jsFwDays 2021: Metarhia Technology Stack for Node.js
FwDays 2021: Metarhia Technology Stack for Node.jsTimur Shemsedinov
 
How to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAMHow to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAMProvectus
 
コマンドラインで始める SoftLayer (May 23, 2014)
コマンドラインで始める SoftLayer (May 23, 2014)コマンドラインで始める SoftLayer (May 23, 2014)
コマンドラインで始める SoftLayer (May 23, 2014)隆明 中島
 
使用 Passkeys 打造無密碼驗證服務
使用 Passkeys 打造無密碼驗證服務使用 Passkeys 打造無密碼驗證服務
使用 Passkeys 打造無密碼驗證服務升煌 黃
 
Building a Real-time Streaming ETL Framework Using ksqlDB and NoSQL
Building a Real-time Streaming ETL Framework Using ksqlDB and NoSQLBuilding a Real-time Streaming ETL Framework Using ksqlDB and NoSQL
Building a Real-time Streaming ETL Framework Using ksqlDB and NoSQLScyllaDB
 
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션Amazon Web Services Korea
 
Exposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using SwaggerExposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using SwaggerSalesforce Developers
 
Event streaming webinar feb 2020
Event streaming webinar feb 2020Event streaming webinar feb 2020
Event streaming webinar feb 2020Maheedhar Gunturu
 
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...Andrey Devyatkin
 
Best Practices for IoT Security in the Cloud
Best Practices for IoT Security in the CloudBest Practices for IoT Security in the Cloud
Best Practices for IoT Security in the CloudAmazon Web Services
 
Frameworkless Web Development in Clojure
Frameworkless Web Development in ClojureFrameworkless Web Development in Clojure
Frameworkless Web Development in ClojureKungi2342
 
Secure Coding for NodeJS
Secure Coding for NodeJSSecure Coding for NodeJS
Secure Coding for NodeJSThang Chung
 
Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan
Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan
Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan VMware Tanzu
 
Going Serverless
Going ServerlessGoing Serverless
Going Serverlessdehms
 
Using Apache as an Application Server
Using Apache as an Application ServerUsing Apache as an Application Server
Using Apache as an Application ServerPhil Windley
 
InterCon 2016 - Segurança de identidade digital levando em consideração uma a...
InterCon 2016 - Segurança de identidade digital levando em consideração uma a...InterCon 2016 - Segurança de identidade digital levando em consideração uma a...
InterCon 2016 - Segurança de identidade digital levando em consideração uma a...iMasters
 
iMasters Intercon 2016 - Identity within Microservices
iMasters Intercon 2016 - Identity within MicroservicesiMasters Intercon 2016 - Identity within Microservices
iMasters Intercon 2016 - Identity within MicroservicesErick Belluci Tedeschi
 

Semelhante a Cloud.ca and CloudOps cs_auth (20)

FwDays 2021: Metarhia Technology Stack for Node.js
FwDays 2021: Metarhia Technology Stack for Node.jsFwDays 2021: Metarhia Technology Stack for Node.js
FwDays 2021: Metarhia Technology Stack for Node.js
 
How to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAMHow to implement authorization in your backend with AWS IAM
How to implement authorization in your backend with AWS IAM
 
CloudStack S3
CloudStack S3CloudStack S3
CloudStack S3
 
コマンドラインで始める SoftLayer (May 23, 2014)
コマンドラインで始める SoftLayer (May 23, 2014)コマンドラインで始める SoftLayer (May 23, 2014)
コマンドラインで始める SoftLayer (May 23, 2014)
 
使用 Passkeys 打造無密碼驗證服務
使用 Passkeys 打造無密碼驗證服務使用 Passkeys 打造無密碼驗證服務
使用 Passkeys 打造無密碼驗證服務
 
Building a Real-time Streaming ETL Framework Using ksqlDB and NoSQL
Building a Real-time Streaming ETL Framework Using ksqlDB and NoSQLBuilding a Real-time Streaming ETL Framework Using ksqlDB and NoSQL
Building a Real-time Streaming ETL Framework Using ksqlDB and NoSQL
 
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
 
Exposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using SwaggerExposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using Swagger
 
Event streaming webinar feb 2020
Event streaming webinar feb 2020Event streaming webinar feb 2020
Event streaming webinar feb 2020
 
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
2020-02-20 - HashiTalks 2020 - HashiCorp Vault configuration as code via Hash...
 
Best Practices for IoT Security in the Cloud
Best Practices for IoT Security in the CloudBest Practices for IoT Security in the Cloud
Best Practices for IoT Security in the Cloud
 
Frameworkless Web Development in Clojure
Frameworkless Web Development in ClojureFrameworkless Web Development in Clojure
Frameworkless Web Development in Clojure
 
Secure Coding for NodeJS
Secure Coding for NodeJSSecure Coding for NodeJS
Secure Coding for NodeJS
 
Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan
Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan
Secure Credential Management with CredHub - DaShaun Carter & Sharath Sahadevan
 
AWS Java SDK @ scale
AWS Java SDK @ scaleAWS Java SDK @ scale
AWS Java SDK @ scale
 
Java security
Java securityJava security
Java security
 
Going Serverless
Going ServerlessGoing Serverless
Going Serverless
 
Using Apache as an Application Server
Using Apache as an Application ServerUsing Apache as an Application Server
Using Apache as an Application Server
 
InterCon 2016 - Segurança de identidade digital levando em consideração uma a...
InterCon 2016 - Segurança de identidade digital levando em consideração uma a...InterCon 2016 - Segurança de identidade digital levando em consideração uma a...
InterCon 2016 - Segurança de identidade digital levando em consideração uma a...
 
iMasters Intercon 2016 - Identity within Microservices
iMasters Intercon 2016 - Identity within MicroservicesiMasters Intercon 2016 - Identity within Microservices
iMasters Intercon 2016 - Identity within Microservices
 

Último

Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform EngineeringMarcus Vechiato
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...marcuskenyatta275
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jNeo4j
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPTiSEO AI
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsLeah Henrickson
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessUXDXConf
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024Stephanie Beckett
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireExakis Nelite
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfFIDO Alliance
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfUK Journal
 

Último (20)

Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 

Cloud.ca and CloudOps cs_auth

  • 1. Integration between Cloudstack and Openstack Will Stevens David Chamard sponsored by
  • 2. Introducing Cloudstack Cloudstack in 5 seconds: An Apache licensed, open source compute stack (like Nova), mostly built in JAVA. What integration currently exists between openstack and cloudstack: Storing VM snapshots and templates (image files) to Swift. What is missing: Front-end UI and authentication between the two systems.
  • 3. Love for Openstack and Cloudstack CS + OS
  • 4. What is cs_auth? ● Swift authentication middleware. ● Authenticate users via the Cloudstack API. ● Leverage Cloudstack's user management rather than introducing another auth system. ● Removes the need to populate and sync multiple databases for account information.
  • 5. Overview of cs_auth ● Handles S3 requests via the swift3 middleware. ● Implements ACL, including public containers. ● Uses Memcached for caching the user's identity. ● Works out of the box with common tools: ○ Cyberduck ○ Swift Bench ○ Swift Dispersion ○ Swift Recon
  • 7. Anatomy of cs_auth token = hashlib.sha224('%s%s' % (cs['secretkey'], cs['apikey'])).hexdigest() if self.reseller_prefix != '': account_url = '%s/v1/%s_%s' % (self.storage_url, self.reseller_prefix, quote(cs['account'])) else: account_url = '%s/v1/%s' % (self.storage_url, quote(cs['account'])) identity = dict({ 'username':cs['username'], 'account':cs['account'], 'token':token, 'account_url':account_url, 'domain':dict({ 'id':cs['domainid'], 'name':cs['domain'] }), 'roles':[self.cs_roles[cs['accounttype']], cs['account']], 'expires':expires })
  • 8. Additional considerations ● Still need a UI for Swift in Cloudstack. ● Need to work with the swift and keystone teams to improve ACL support for S3 calls.