Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AWS上でStripeを利用したアプリをより安全にデプロイする方法 /jaws-pankrat...
Search
Hidetaka Okamoto
November 21, 2021
Technology
1
180
AWS上でStripeを利用したアプリをより安全にデプロイする方法 /jaws-pankration-2021
JAWS PANKRATION 2021登壇資料です。
https://jawspankration2021.jaws-ug.jp/sessions/40
Hidetaka Okamoto
November 21, 2021
Tweet
Share
More Decks by Hidetaka Okamoto
See All by Hidetaka Okamoto
OpenAI APIで API Changelogを要約してみた話 / chatgpt-osaka-1
hideokamoto
0
530
コミュニティ運営から 中の人に変わって感じたこと
hideokamoto
0
70
Developerが Developer Advocateになった話 / dev-rel-meetup-tokyo-71
hideokamoto
0
310
Jamstack開発者のための App Runner入門
hideokamoto
1
460
WordPressでの webサイト制作2022 / ngk2022s
hideokamoto
0
410
JavaScript(TypeScript)で メディアサイトを インフラから構築する方法 / jsconf-jp-2021
hideokamoto
2
4.1k
Shifter Headlessと Headless WordPressの紹介
hideokamoto
0
1.7k
Stripe & Next.js + AWS Amplify で会員 + 定期課金機能 / JP_Stripes20210903
hideokamoto
7
3.1k
後付けで 従量課金プランの 提供を開始した話 / 20210609-jp_stripes
hideokamoto
0
200
Other Decks in Technology
See All in Technology
SSH公開鍵認証による接続 / Connecting with SSH Public Key Authentication
kaityo256
PRO
2
220
DevinはクラウドエンジニアAIになれるのか!? 実践的なガードレール設計/devin-can-become-a-cloud-engineer-ai-practical-guardrail-design
tomoki10
3
1.3k
Cloud Native PG 使ってみて気づいたことと最新機能の紹介 - 第52回PostgreSQLアンカンファレンス
seinoyu
2
200
ひまプロプレゼンツ 「エンジニア格付けチェック 〜春の公開収録スペシャル〜」
kaaaichi
0
130
技術的負債を正しく理解し、正しく付き合う #phperkaigi / PHPerKaigi 2025
shogogg
7
1.8k
OPENLOGI Company Profile for engineer
hr01
1
22k
ClineにNext.jsのプロジェクト改善をお願いしてみた / 20250321_reacttokyo_LT
optim
1
1.3k
年末調整プロダクトの内部品質改善活動について
kaomi_wombat
0
210
Agile TPIを活用した品質改善事例
tomasagi
0
310
LINE API Deep Dive Q1 2025: Unlocking New Possibilities
linedevth
1
160
パスキー導入の課題と ベストプラクティス、今後の展望
ritou
7
1.2k
新卒エンジニア研修の試行錯誤と工夫/nikkei-tech-talk-31
nishiuma
0
200
Featured
See All Featured
Music & Morning Musume
bryan
46
6.4k
Building Your Own Lightsaber
phodgson
104
6.3k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
500
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
25k
Being A Developer After 40
akosma
90
590k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
28
2k
Transcript
How to develop application safely using Stripe on AWS
Agenda • About Stripe • Using AWS to use Stripe
more secure • Community information about Stripe
https://stripe.com/
We can add/do... • Send invoice and charge it •
Membership / Subscription • Create marketplace (CtoC) • POS / Finance / Card / eKYC / etc...
Use case https://getshifter.io https://stripe.com/
Use Case: Shifter • Save/update credit card • Create/modify subscription
• Provide PAYG option plan to customer • Analyze business (on Stripe Dashboard) • etc...
How to use it?
We need to get the API key to call Stripe
API
Publishable API Key • For frontend • Tokenize Card and
confirm payment Secret API Key • For backend • Access & modify all resource in Stripe
Publishable API Key • For frontend • Tokenize Card and
confirm payment Secret API Key • For backend • Access & modify all resource in Stripe
“Restricted API Key” -> Custom API key -> Custom policy
Use API Key to init Client
And call Stripe API
• Stripe Secret API key is critical • We can
access&modify real customer data • We need to hold it secure
AWS can hold the API key security
https://aws.amazon.com/secrets-manager/
None
None
• We never place API key on our local •
Just call AWS API to get it • Set once, only read
Amplify CLI supports AWS Secrets Manager (and SSM)
Automatically generate a code to get the env value
• Secrets Manager can handle API key secure • AWS
Amplify can use this from CLI • Stripe with AWS is good for developer • Let’s create your own SaaS bussiness !
Info & Community
Official Docs & Tutorial https://stripe.dev Japanese Community https://www.facebook.com/groups/jpstripes Discord https://discord.com/invite/stripe
https://qiita.com/advent-calendar/2021/stripe
https://stripe.events/jpdevguides
Thanks!