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
170
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
490
コミュニティ運営から 中の人に変わって感じたこと
hideokamoto
0
59
Developerが Developer Advocateになった話 / dev-rel-meetup-tokyo-71
hideokamoto
0
280
Jamstack開発者のための App Runner入門
hideokamoto
1
440
WordPressでの webサイト制作2022 / ngk2022s
hideokamoto
0
400
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
3k
後付けで 従量課金プランの 提供を開始した話 / 20210609-jp_stripes
hideokamoto
0
190
Other Decks in Technology
See All in Technology
When Windows Meets Kubernetes…
pichuang
0
300
RubyでKubernetesプログラミング
sat
PRO
4
160
PaaSの歴史と、 アプリケーションプラットフォームのこれから
jacopen
7
1.4k
データ基盤におけるIaCの重要性とその運用
mtpooh
4
440
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
330
【NGK2025S】動物園(PINTO_model_zoo)に遊びに行こう
kazuhitotakahashi
0
220
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
840
Amazon Q Developerで.NET Frameworkプロジェクトをモダナイズしてみた
kenichirokimura
1
190
AWSサービスアップデート 2024/12 Part3
nrinetcom
PRO
0
140
デジタルアイデンティティ人材育成推進ワーキンググループ 翻訳サブワーキンググループ 活動報告 / 20250114-OIDF-J-EduWG-TranslationSWG
oidfj
0
470
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
130
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
130
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Writing Fast Ruby
sferik
628
61k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Site-Speed That Sticks
csswizardry
2
270
A Tale of Four Properties
chriscoyier
157
23k
Six Lessons from altMBA
skipperchong
27
3.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Making Projects Easy
brettharned
116
6k
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!