æé©ãªèªèšŒåºç€ãæ§ç¯ãã (åžå Žèª¿æ»ç·š)
ä»äºã§èªèšŒãå·æ°ããå¿ èŠãåºããããè²ã ãšèª¿æ»ããŸããããã®èšäºã§ã¯ãã®çµæãå ±æããããšæããŸãã
TL;DR
-
å¿ èŠãšããæ©èœãå€ããé«é¡å©çšæãæ¯æããå ŽåãAuth0, OneLogin, GMOãã©ã¹ããã°ã€ã³ãªã©ã®IDaaS
-
å¿ èŠãšããæ©èœãå°ãªããå€å°ã®å©çšæãæããå ŽåãFirebase Authentication, Amazon Cognitoãªã©ã®IDaaS
-
äžèšä»¥å€ãèªåå®è£
-
äœãéžæãããã¯ã±ãŒã¹ãã€ã±ãŒã¹
IDaaS
IDaaSã¯èªèšŒãID管çããµãŒãã¹ãšããŠæäŸãããã®ã§ããSaaSç»å Žåã®æ代ã¯å瀟èªèšŒã®äœãããã®ã©ã€ãã©ãªãFWãå©çšããŠãèªåã§å®è£ ãè¡ãèªèšŒãæäŸããŠããŸããã
èªèšŒåšãã¯é£ãããããç¬èªå®è£ ãè¡ããšäºæ ã«ç¹ãããããã§ããäŸãã°ãã¹ã¯ãŒããDBã«çã®ç¶æ ã§ä¿åããŠããŸãããšã§ããã¹ã¯ãŒãã®æŒæŽ©ãçºçããŠããŸã£ãããhashã¢ã«ãŽãªãºã ãã¹ãã¬ããã®æç¡ã®åé¡ã§ç°¡åã«èªèšŒãçªç ŽãããŠããŸããäžæ£ãã°ã€ã³ãçºçãããªã©ã
ID/PASSã®ãã°ã€ã³ã«å ããŠå€èŠçŽ èªèšŒããœãŒã·ã£ã«ãã°ã€ã³ãªã©ãå ãã£ãŠããå Žåããã°ãè匱æ§é²ãã§å®è£ ããããšã¯ããã«å°é£ã«ãªããŸãã
ãã®ãããèªèšŒããµãŒãã¹åãããã®ãåºãŠããŠãããè¿å¹Žæµè¡ã£ãŠããŠããŸãã
IDaaSã«ã€ããŠã¯ä»¥äžã®èšäºãåèã«ãããšè¯ããããããŸããã
https://www.okta.com/jp/identity-101/idaas/
IDaaSæ倧æã®Auth0
IDaaSã®æ倧æã¯Auth0ã§ãã
Oktaãè²·åããŠãããçŸåšã¯Oktaå ã®1補åãšããŠå£²ãåºãããŠããŸãã
ãã®OktaãåºããŠããã¬ããŒãã§ããã
æ¥ççã«ã¯Topã®ãã¬ã€ã€ãŒãšãªã£ãŠããŸããå®éã«ç¥ãåããªã©ç§ã®èŠ³æž¬ç¯å²ã§è©å€ãè¯ãã§ãã
ããæ®å¿µãªããããªãã®é«é¡ãªã®ã§ãå°å ¥ã§ããäŒæ¥ã¯ããäžéšã§ãã
äŸãã°B2C Essentials 5000MAUãã©ã³ã®å Žåã$114/moã§ããMAUããã$0.0288ã§ãã
ãã ãããã«ã¯ProMFAãšããæ©èœ(ãœãŒã·ã£ã«ã¢ã«ãŠã³ãã§ã®ãã°ã€ã³)ãå«ãŸããŠããªãã§ããäŸãã°èªåãB2CãµãŒãã¹ãå±éããŠããå Žåã¯ããªãã®é«ç¢ºçã§GoogleãAppleã®ã¢ã«ãŠã³ãã§ã®ãã°ã€ã³ããµããŒãããããšã«ãªããŸãã
ãã®å Žåã¯ãB2C Professional 5000MAUãã©ã³ã§ã$1000/moã§ããMAUããã$0.2ã§ãã
ãµãŒãã¹ã«ãã£ãŠã¯ããã§ãè¯ããããããŸããããGoogle AuthenticatorãSMSãªã©ã«ããå€èŠçŽ èªèšŒ(MFA)ãå°å ¥ãããå Žåãªã©ã¯ãŸã話ãå€ãã£ãŠããŸãã
ãã®å Žåã¯Enterpriseãã©ã³ãå¿ èŠã§ãEnterprise MFAãšããæ©èœãå¿ èŠãªããã§ãããä»ã«ãSAMLé£æºãªã©ãããããªæ©èœããããŸãããå¿ èŠãªãã®ã ããéžãã ç¬èªã®ãã©ã³ã»æéäœç³»ãšãªãããã§ããæ©èœãçãã°çãã»ã©é«ããªããŸãã
Oktaã®å¶æ¥ããããå®ããŠãæããã100äžåããã®å¥çŽãšãªãããã§ããå®éã«ã©ã®çšåºŠã®éé¡ã«ãªããã¯èŠç©ãã£ãŠããŸããããNDAç· çµåŸããèŠç©ããã§ããªããããªã®ã§ãããããäŸ¡æ Œã«ã€ããŠã¯äžã®äžã«ã¯æ å ±ãåºåã£ãŠããŸãããããšã«ããé«ãããšã¯åãããŸããã
æ¥æ¬è£œã®IDaaS GMOãã©ã¹ããã°ã€ã³
GMOã®IDaaSã§ããããã¡ãã¯å šæ©èœãã©ã³ãMAUããã300å/moã§ãã
ããããAuth0ã®Enterpriseãã©ã³ããå®ãã®ã§ãããããããã§ã300åã¯é«ãå°è±¡ããããŸããã
èªç€ŸãµãŒãã¹ã®ç¹æ§æ¬¡ç¬¬ã§ã¯ãããŸããã»ã»ã»ã
äŸãã°Moneyforward MEãšãã家èšç°¿ã¢ããªããããŸãããããã¯æé¡500åã®ãµãã¹ã¯ã§ãã1æ以å ã«ãã°ã€ã³ããªã人ãªã©ãå± ãã§ãããããä»®ã«å šäœãŠãŒã¶ã®ãã¡20%ãã¢ã¯ãã£ããŠãŒã¶ãŒã ãšä»®å®ãããã®ã¢ã¯ãã£ããŠãŒã¶ãŒã¯å šå¡ãµãã¹ã¯å å ¥ããŠãããšããŸãããã®å Žåãäžäººããã0.2MAUãšèããããšãã§ããããã300(å) * 0.2 (MAU) = 60 (å)ãšãªããå å ¥è äžäººãããã®IDaaSã®æéã¯60åãšãªããŸãã
500åã®å£²äžã®ãã¡60åã®ã³ã¹ããIDaaSã«æ¯æãããšã«ãªããŸããããã¯å£²äžã®ãã¡12%ã§ãã
ããã蚱容ã§ããå Žåã¯IDaaSã䜿ãã°ãããã蚱容ã§ããªãå Žåã¯å¥ã®éžæè¢ãæ¢ãå¿ èŠãåºãŸãã
å°ãå®ãIDaaS Firebase Authentication, Amazon Cognito
https://cloud.google.com/identity-platform/pricing?hl=ja
https://aws.amazon.com/jp/cognito/pricing/
Firebase AuthenticationãšAmazon Cognitoã¯åè¿°ã®IDaaSãšåããIDaaSã§ã¯ãããŸãããå€§å¹ ã«äŸ¡æ Œãå®ããªã£ãŠããŸãã
ãã ãããã®åæ©èœãå°ãªãã£ãããå®è£ éãå€ããªããŸããäŸãã°Auth0ã§ã¯FIDO2ã«ããçäœèªèšŒãç°¡åã«è¿œå ããããšãã§ããŸããããããïŒã€ã®ãµãŒãã¹ã§ã¯ç°¡åã«ã¯è¿œå ã§ããŸãããã«ã¹ã¿ã èªèšŒãããŒãšãããããªä»çµã¿ã䜿ã£ãç¬èªã®å®è£ ãæ±ããããŸãã
ä»ã«ãFirebase Authenticationã¯MFAæ©èœã¯ããããçŸæç¹ã§ã¯SMSã®ã¿ã§ãOTPã¯å¯Ÿå¿ããŠããªãããªã©ã®å¶çŽããããŸãã
éé¡ã§ãããäŸãã°Firebaseã§5000MAUã§MFAãå¿ èŠãšããŠããå Žåãåºæ¬çã«ã¯ç¡ææ ã§æžã¿ãŸãããSMSã®1èªèšŒããã$0.06ã®è¿œå ã³ã¹ããçºçããŸããä»®ã«5000MAUå šãŠãMFAãæå¹ã«ããŠãããã»ãã·ã§ã³æéã30æ¥ãšããŠã1ã¶æããã5000åã®SMSèªèšŒãçºçãããšä»®å®ããŸãããã®å Žåã5000 * 0.06 = $300/mo ãšãªããŸãã
Cognitoã®å ŽåMFAã§ã®è¿œå ã³ã¹ãã¯çºçããªãããã§ãããç¡ææ ããããŸãããé«åºŠãªã»ãã¥ãªãã£ãªãã·ã§ã³ãæå¹åããå Žåã¯è¿œå ã³ã¹ããçºçããŸããäŸãã°ãã¹ã¯ãŒããªã¹ãæ»æãªã©ãé²ãããã«ãã®ãªãã·ã§ã³ãæå¹åãã5000MAUã®å Žåã$250/moãšãªããŸãã
èªåå®è£
ç§ã¯ä»äºã§ã¯Ruby on Railsãå©çšããŠããŸãããRubyçéã§ã¯äŸãã°
ãã®ãããªTOTPãå¯èœã«ããã©ã€ãã©ãªãååšããŸããTOTPã¯ä»æ¥ã§ã¯äžè¬çã§ãããããããã»ãšãã©ã®èšèªã§ãã®ãããªã©ã€ãã©ãªã¯ååšããããšæããŸãã
å Žåã«ãã£ãŠã¯èªåã§å®è£ ããããšããã¹ãã§ãããšçµè«ä»ããããŒã ããããããããŸããããã®ãããªå Žåã¯IDaaSãããé«ãªã¹ã¯ã§ããéçºã³ã¹ãããããäžæ¹ãèªç±åºŠãé«ãã©ã³ãã³ã°ã³ã¹ããå®ããšããã¡ãªãããåãããããããããŸããã
ã³ã¹ãæ¯èŒ
å ±éã®åææ¡ä»¶
-
5幎é(60ã¶æ)ãµãŒãã¹ãç¶ç¶ããåãèªèšŒåºç€ã䜿ãç¶ãããã®ãšãã
-
ãšã³ãžãã¢ã®1人æã80äžåãšãã
-
ããªã¥ãŒã ãã£ã¹ã«ãŠã³ããååšããããšãæ³å®ããäºæ³ãããéé¡ãå©çšãã
-
$1ããã130åãšãã
-
Cognitoã¯ã¢ããã³ã¹ãã»ãã¥ãªãã£ãæå¹åããããŸããã§ããŒã¬ãŒã·ã§ã³ãã°ã€ã³ã®å²åã¯50%ãšãã
B2CãµãŒãã¹ã®å Žå
åææ¡ä»¶
-
é«åºŠãªæ©èœãå¿ èŠãšããªããID/PASSã«ããèªèšŒãšãœãŒã·ã£ã«ã¢ã«ãŠã³ãã«ããèªèšŒã®ã¿å¿ èŠ
-
ãŠãŒã¶ãŒæ° 500,000
-
MAU 50,000 (ãŠãŒã¶ãŒæ°ã®10%)
-
ææãã©ã³å å ¥è æ° 10,000 (MAUã®20%)
ãµãŒãã¹ | IDaaSæé/æ (a) | åæéçºäººæ (b) | åèš (a * 60ã¶æ + b * 80äžå) |
Auth0 (B2C Professional) | $4500 | 1 | ¥35,900,000 |
GMOãã©ã¹ããã°ã€ã³ | Â¥10,000,000 | 1 | Â¥600,800,000 |
Firebase Authentication | 0 | 2 | ¥1,600,000 |
Amazon Cognito | $2874 | 2 | ¥24,017,200 |
èªåå®è£ | 0 | 2 + 2 | Â¥3,200,000 |
â»FirebaseãšCognitoã¯IDaaSãšã¯ãããAuth0ãªã©ãšæ¯èŒããŠå®è£
éã¯å€ããªãåŸåã«ãããããªã®ã§2人æãšãã
â»èªåå®è£
ã¯åæéçºä»¥å€ã«ä¿å®ããããªãã«çºçãããã2ãäžä¹ã
B2BãµãŒãã¹ã®å Žå
åææ¡ä»¶
-
é«åºŠãªæ©èœãå¿ èŠãšãããID/PASSã«ããèªèšŒããœãŒã·ã£ã«ã¢ã«ãŠã³ãã«ããèªèšŒãMFA
-
ãŠãŒã¶ãŒæ° 20,000
-
MAU 5,000 (ãŠãŒã¶ãŒæ°ã®25%)
-
ææãã©ã³å å ¥è æ° 2,500 (MAUã®50%)
ãµãŒãã¹ | IDaaSæé/æ (a) | åæéçºäººæ (b) | åèš (a * 60ã¶æ + b * 80äžå) |
Auth0 (Enterprise) | $7500 | 1 | ¥59,300,000 |
GMOãã©ã¹ããã°ã€ã³ | Â¥1,500,000 | 1 | Â¥600,800,000 |
Firebase Authentication | $300 | 2 | ¥3,940,000 |
Amazon Cognito | $286 | 2 | ¥3,830,800 |
èªåå®è£ | 0 | 3 + 2 | Â¥4,000,000 |
â»FirebaseãšCognitoã¯IDaaSãšã¯ãããAuth0ãªã©ãšæ¯èŒããŠå®è£
éã¯å€ããªãåŸåã«ãããããªã®ã§2人æãšãã
â»èªåå®è£
ã¯åæéçºä»¥å€ã«ä¿å®ããããªãã«çºçãããã2ãäžä¹ã
ãã®ä»
äžèšã®ã³ã¹ãã®è©Šç®ã§ã¯å®éã«åé¡ãçºçããå Žåã®èæ ®ããªãããŠããŸãããäœããã®ã»ãã¥ãªãã£äºæ ãçºçãã確çã¯èªåå®è£ ãããIDaaSã®æ¹ãäœããšäºæ³ã§ããŸãããã®ç¢ºçãå®è£ éãå€ãFirebaseãCognitoãããAuth0ã®æ¹ãäœããšäºæ³ã§ããŸãã
å®éã«äºæ ãèµ·ãããšãã®æ倱ã¯ãµãŒãã¹ã®ç¹æ§ããŠãŒã¶æ°ãäžå Žã®æç¡ãªã©ãããããªèŠå ã«ãã£ãŠå€ãã£ãŠãããããè©Šç®ãé£ããã§ãã
çµå±å šãŠã¯ã±ãŒã¹ãã€ã±ãŒã¹ãªã®ã§ãèªèšŒåºç€ã®å°å ¥æã«ã¯èªç€ŸãµãŒãã¹ã®ç¹æ§ãèŠä»¶ããã確èªããå¿ èŠããããšæããŸãããŸããã©ã®ãµãŒãã¹ãå©çšããããçµå±ã¯å°å ¥ãããšã³ãžãã¢ã®ç¥èã足ããŠããªããã°ã»ãã¥ãªãã£ããŒã«ãã§ãããããããäœããã®å¯Ÿçãå¿ èŠã§ããäŸãã°ãã³ã³ãµã«ãã£ã³ã°ã«äŸé Œããã第äžè ã«ããè匱æ§èšºæãååã«å®æœãããèªèšŒã«è©³ãããšã³ãžãã¢ã確ä¿ããã¢ãµã€ã³ãããªã©ã
ç§ã®éžæ
ç§ã¯ãŸã çŸæç¹ã§ä»äºã§å©çšããèªèšŒåºç€ã決å®ããŠããŸããããããããAmazon Cognitoã«ããå¯èœæ§ãé«ãã§ãã
æ¬åœã¯Auth0ãå©çšããããšããã§ããã絶察ã«ãã€ããªããšæèšã§ãããããããã瀟é·ã®çšè°ãéããŸããã
Firebaseãè¯ãã®ã§ãããMFAã¯SMSããç¡ãããããèŽåœçã ãšæããŸãããã¡ãŒã«ãTOTPæ¹åŒãã»ãããšããã§ããããããããã¯åŸ1, 2幎ãããã°è¿œå ããããšã¯æããŸããã
Cognitoã§ããã°TOTPã¯å¯èœã§ãããã¢ããã³ã¹ãã»ãã¥ãªãã£ã®ãããã§èªåã§å®è£ ããæ©èœãããã€ãçããŸãããããã¯Firebaseã«ã¯ãããŸããã
æ¢ã«ããèªèšŒåºç€ãCognitoãFirebaseã«ç§»è¡ãããå Žåãæ¢åã®ãŠãŒã¶ãŒããŒãã«ã®æ å ±ããŠãŒã¶ãŒããŒã«ã«ãŸãšããŠimportããå¿ èŠããããŸãããã®æããã¹ã¯ãŒãã¯importããããšãã§ããŸãããCognitoåŽã§ãµããŒããããŠããªããããã¹ã¯ãŒãã¯çã®ç¶æ ã§ããŒãã«ã«ä¿åãããŠããªãããã§ãããã®ãããå šãŠã®ãŠãŒã¶ã«ãã¹ã¯ãŒãã®åèšå®ãæ±ããããšã«ãªããŸãã
èªåå®è£ ã®èªèšŒåºç€ã«MFAã足ãããªã©ã®å ŽåãCognito移è¡ãªã©ãšæ¯èŒããŠãã¹ã¯ãŒãã®ãªã»ããã¯çºçããªãããããã®ç¹ã¯è¯ãã§ãããæ¢åã®èªèšŒã§æ¢ã«TOTPãå®è£ ããŠããå Žåã§Cognitoã«ç§»è¡ããå Žåãåæ§ã«TOTPã®èšå®ã¯ç§»è¡ã§ããŸããã
ãã®ãããªç§»è¡ã®çã¿ããããããèªåå®è£ ãããã§ã¯ãããŸãããè匱æ§ãé²ãã€ã€å®è£ ããèªä¿¡ã¯ãããŸãããããã®ãããã®ãªã¹ã¯ãèæ ®ãããšIDaaSãå©çšããããšããã§ãã
ããŸã®ãšãããä»äºã§ã¯AWSãå©çšããŠããŸãããåãAWS補åã«ä¹ã£ãããããšããèããªã©ããããCognitoã§è¡ããããšèããŠããŸãã