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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Hidetaka Okamoto
November 21, 2021
Technology
240
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS上でStripeを利用したアプリをより安全にデプロイする方法 /jaws-pankration-2021
JAWS PANKRATION 2021登壇資料です。
https://jawspankration2021.jaws-ug.jp/sessions/40
Hidetaka Okamoto
November 21, 2021
More Decks by Hidetaka Okamoto
See All by Hidetaka Okamoto
OpenAI APIで API Changelogを要約してみた話 / chatgpt-osaka-1
hideokamoto
0
680
コミュニティ運営から 中の人に変わって感じたこと
hideokamoto
0
140
Developerが Developer Advocateになった話 / dev-rel-meetup-tokyo-71
hideokamoto
0
380
Jamstack開発者のための App Runner入門
hideokamoto
1
540
WordPressでの webサイト制作2022 / ngk2022s
hideokamoto
0
490
JavaScript(TypeScript)で メディアサイトを インフラから構築する方法 / jsconf-jp-2021
hideokamoto
2
4.4k
Shifter Headlessと Headless WordPressの紹介
hideokamoto
0
2.1k
Stripe & Next.js + AWS Amplify で会員 + 定期課金機能 / JP_Stripes20210903
hideokamoto
7
3.3k
後付けで 従量課金プランの 提供を開始した話 / 20210609-jp_stripes
hideokamoto
0
250
Other Decks in Technology
See All in Technology
ABEMA の Datadog × OTel 基盤、 中から見るか? 外から見るか?
tetsuya28
0
110
AI と創る新たな世界 / A New World Created with AI
ks91
PRO
0
120
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
370
個人の発見を、組織の知恵に 〜生成AI活用を"探索"から"組織の仕組み"へ〜
kintotechdev
2
1.1k
React、まだ楽しくて草
uhyo
7
4.2k
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
2.9k
GoとSIMDとWasmの今。
askua
3
510
AI Testing Talks: Challenges of Applying AI in Software Testing: From Hype to Practical Use
exactpro
PRO
1
140
データ基盤をDataformで整えた話 〜 開発環境を添えて 〜
takapy
0
120
価格.comをAI駆動で全面刷新する ー 30年分の技術的負債を返し、次の30年の土台をつくる ー / AI Engineering Summit Tokyo 2026
tkyowa
50
55k
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
210
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
170
Featured
See All Featured
Technical Leadership for Architectural Decision Making
baasie
3
400
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
180
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
For a Future-Friendly Web
brad_frost
183
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to Ace a Technical Interview
jacobian
281
24k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
The Pragmatic Product Professional
lauravandoore
37
7.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
What's in a price? How to price your products and services
michaelherold
247
13k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
210
Documentation Writing (for coders)
carmenintech
77
5.4k
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!