GreyTower Identity   Integration         -Restful API tutorialGetting started with Grey Tower Identity Restful APis
Targeted Audience (Assumptions)   This presentation makes the assumption    that the reader is somewhat technical    (Dev...
Restful API Authentication   Grey Tower supports Several    Authentication methods    ◦ Basic Multifactor Authentication ...
Graded Authentication Tokens                 Authentication   Authentication    Basic                     Token          C...
Initial Authentication (Multi Factor)   Basic Multifactor authentication (username and password+    API Key)    ◦ Require...
Get Certificate Authorization Cert   Requires a secure authorization token       URL - http://scim.cloudhub.io/api/Autho...
Authorization Certificate   Requires an Authorization token         URL -          http://scim.cloudhub.io/api/V1/SCIM/U...
Authorization Token   The Authorization Token is a Salted AES 256    bit encrypted String   Only valid for 24 hours   R...
Authorization Certificate   256 bit AES Certificate.   The Certificate is returned as a string   Valid for 30 Days   R...
Examples   What you will need   Greytower Identity Domain    ◦ Register for you free domain at https://scim.cloudhub.io...
Example – Get Authorization KeyURLhttp://scim.cloudhub.io/api/AuthorizationHeader   • Content-Type: application/jsonBody  ...
Example using Chrome Rest Clientto obtain an Authorization Token
Example –Get Authorization Certificate
Thank You!www.directoryservicesinc.com
Upcoming SlideShare
Loading in …5
×

Getting Started with Grey tower restful api

341 views
281 views

Published on

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
341
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Getting Started with Grey tower restful api

  1. 1. GreyTower Identity Integration -Restful API tutorialGetting started with Grey Tower Identity Restful APis
  2. 2. Targeted Audience (Assumptions) This presentation makes the assumption that the reader is somewhat technical (Developer or Engineer)and is familiar with the following concepts  Authentication  Authorization  Restful APIS  Basic PKI concepts
  3. 3. Restful API Authentication Grey Tower supports Several Authentication methods ◦ Basic Multifactor Authentication  (Username+Password+APIKey) ◦ Authorization key ◦ Authorization Certificate
  4. 4. Graded Authentication Tokens Authentication Authentication Basic Token Certificate Multifactor (Valid for 24 (Valid for 30Authentication Hours) Days)User Name+ Requires basic RequiresPassword+ multifactor AuthenticationAPIKey Authentication Token
  5. 5. Initial Authentication (Multi Factor) Basic Multifactor authentication (username and password+ API Key) ◦ Required to get the secure authorization token Restful API Example ◦ URL - http://scim.cloudhub.io/api/Authorization ◦ Post body content  {"name": "wbrant@greycondo.com.com", "password": "greycondo", "apiKey": "f9QzEk6wmY1rvPWDMkrzIRSTTm8SwTtj"} ◦ Returns an Authorization key  FB43C16B219678454CF5B86D63C7885E17A37660BCBA09E066472AD17 B35E0B96AE6C98A9C0D9DA651C15178A1C4E58D5C85650998C27F4C
  6. 6. Get Certificate Authorization Cert Requires a secure authorization token  URL - http://scim.cloudhub.io/api/Authorization ◦ Post body content  {"name": "wbrant@greycondo.com.com", "password": "greycondo", "apiKey": "f9QzEk6wmY1rvPWDMkrzIRSTTm8SwTtj"} ◦ Returns an Authorization key  FB43C16B219678454CF5B86D63C7885E17A37660BCBA0 9E066472AD17B35E0B96AE6C98A9C0D9DA651C15178A 1C4E58D5C85650998C27F4C
  7. 7. Authorization Certificate Requires an Authorization token  URL - http://scim.cloudhub.io/api/V1/SCIM/Users/Cert ificate Header Content  Authorization: FB43C16B219678454CF5B86D63C7885E17A37660BCBA0 9E066472AD17B35E0B96AE6C98A9C0D9DA651C15178A1 C4E58D5C85650998C27F4C Returns an Authorization certificate
  8. 8. Authorization Token The Authorization Token is a Salted AES 256 bit encrypted String Only valid for 24 hours Required to authorize all future API calls ◦ Example Authorization key  FB43C16B219678454CF5B86D63C7885E17A37660BCB A09E066472AD17B35E0B96AE6C98A9C0D9DA651C15 178A1C4E58D5C85650998C27F4C
  9. 9. Authorization Certificate 256 bit AES Certificate. The Certificate is returned as a string Valid for 30 Days Required to authorize all future API calls ◦ Example Authorization Certificate  FB43C16B219678454CF5B86D63C7885E17A37660BCBA09E0664 72AD17B35E0B96AE6C98A9C0D9DA651C15178A1C4E58D5C856 50998C27F4C8454CF5B86D63C7885E17A37660BCBA09E066472 AD17B35E0B96AE6C98A9C0D9DA651C15178A1C4E58D5C85650 998C27F48454CF5B86D63C7885E17A37660BCBA09E066472AD1 7B35E0B96AE6C98A9C0D9DA651C15178A1C4E58D5C85650998 C27F4
  10. 10. Examples What you will need Greytower Identity Domain ◦ Register for you free domain at https://scim.cloudhub.io Chrome Browser Organization API Key ◦ The api key is sent to you on initial registration ◦ Username {wbrant@directoryservicesinc.com} ◦ Password {password}
  11. 11. Example – Get Authorization KeyURLhttp://scim.cloudhub.io/api/AuthorizationHeader • Content-Type: application/jsonBody • {"name": "mpotter@greycondo.com", "password": "greycondo", "apiKey": "gwNfdLhiSpoR2xtLAtdK3n3Kq6XBH3XZ"}
  12. 12. Example using Chrome Rest Clientto obtain an Authorization Token
  13. 13. Example –Get Authorization Certificate
  14. 14. Thank You!www.directoryservicesinc.com

×