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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hidetaka Okamoto
November 21, 2021
Technology
230
1
Share
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
660
コミュニティ運営から 中の人に変わって感じたこと
hideokamoto
0
110
Developerが Developer Advocateになった話 / dev-rel-meetup-tokyo-71
hideokamoto
0
360
Jamstack開発者のための App Runner入門
hideokamoto
1
530
WordPressでの webサイト制作2022 / ngk2022s
hideokamoto
0
470
JavaScript(TypeScript)で メディアサイトを インフラから構築する方法 / jsconf-jp-2021
hideokamoto
2
4.4k
Shifter Headlessと Headless WordPressの紹介
hideokamoto
0
2k
Stripe & Next.js + AWS Amplify で会員 + 定期課金機能 / JP_Stripes20210903
hideokamoto
7
3.3k
後付けで 従量課金プランの 提供を開始した話 / 20210609-jp_stripes
hideokamoto
0
240
Other Decks in Technology
See All in Technology
暗黙知について一歩踏み込んで考える - 暗黙知の4タイプと暗黙考・暗黙動へ
masayamoriofficial
0
670
ASTのGitHub CopilotとCopilot CLIの現在地をお話しします/How AST Operates GitHub Copilot and Copilot CLI
aeonpeople
1
210
組織的なAI活用を阻む 最大のハードルは コンテキストデザインだった
ixbox
1
1.2k
今年60歳のおっさんCBになる
kentapapa
1
330
2026年度新卒技術研修 サイバーエージェントのデータベース 活用事例とパフォーマンス調査入門
cyberagentdevelopers
PRO
5
6.6k
I ran an automated simulation of fake news spread using OpenClaw.
zzzzico
1
1k
本番環境でPHPコードに触れずに「使われていないコード」を調べるにはどうしたらよいか?
egmc
1
260
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
400
試されDATA SAPPORO [LT]Claude Codeで「ゆっくりデータ分析」
ishikawa_satoru
0
330
ふりかえりを 「あそび」にしたら、 学習が勝手に進んだ / Playful Retros Drive Learning
katoaz
0
420
バックオフィスPJのPjMをコーポレートITが担うとうまくいく3つの理由
yueda256
1
290
3つのボトルネックを解消し、リリースエンジニアリングを再定義した話
nealle
0
300
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Abbi's Birthday
coloredviolet
2
6.4k
Building Applications with DynamoDB
mza
96
7k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
300
Git: the NoSQL Database
bkeepers
PRO
432
67k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.7k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Mind Mapping
helmedeiros
PRO
1
140
Visualization
eitanlees
150
17k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
93
Music & Morning Musume
bryan
47
7.1k
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!