Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
.awsにあるファイルには何が書かれているのか
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yasuharu Sawada
August 27, 2021
Programming
750
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
.awsにあるファイルには何が書かれているのか
Yasuharu Sawada
August 27, 2021
More Decks by Yasuharu Sawada
See All by Yasuharu Sawada
SRE@FOLIO
yasuharu519
1
1.4k
Other Decks in Programming
See All in Programming
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
5
3.4k
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
180
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
180
Building an Out-of-Order CPU
latte72
1
790
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
260
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
300
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
220
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
150
新卒PdEのリアル
ryu1013
1
500
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
490
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
360
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
280
Six Lessons from altMBA
skipperchong
29
4.5k
How to Ace a Technical Interview
jacobian
281
24k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The browser strikes back
jonoalderson
0
1.7k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
Git: the NoSQL Database
bkeepers
PRO
432
67k
Google's AI Overviews - The New Search
badams
0
1.6k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
Color Theory Basics | Prateek | Gurzu
gurzu
1
470
Balancing Empowerment & Direction
lara
6
1.3k
Transcript
.aws Yasuharu Sawada
.aws AWS SSO AWS
AWS ~/.aws ~/.aws/config ~/.aws/credentials ` ` $ ls ~/.aws/ cli
config credentials sso ` ` ` `
~/.aws/config ~/.aws/credentials ` ` $ cat ~/.aws/config [default] region =
ap-northeast-1 [profile profile-custodian] region = ap-northeast-1 sso_start_url = https://a-0123456789.awsapps.com/start sso_region = ap-northeast-1 sso_account_id = 123456789012 sso_role_name = BaseRole output = json ... [profile other-profile] region = ap-northeast-1 sso_start_url = https://a-0123456789.awsapps.com/start sso_region = ap-northeast-1 sso_account_id = 123456789012 sso_role_name = OtherRole output = json ` ` $ cat ~/.aws/credentials [default] aws_access_key_id = AAAAAAAAAAAAAAAAAAAA aws_secret_access_key = *************** [other-profile] aws_access_key_id = BBBBBBBBBBBBBBBBBBBB aws_secret_access_key = *************** aws_session_token = ****
.aws/credentials
.aws/credentials AWS AWS aws_access_key_id , aws_secret_access_key , aws_session_token ` `
` ` ` ` [default] aws_access_key_id = AAAAAAAAAAAAAAAAAAAA aws_secret_access_key = *************** [other-credential] aws_access_key_id = BBBBBBBBBBBBBBBBBBBB aws_secret_access_key = *************** aws_session_token = ****
.aws/con g
.aws/con g AWS aws_access_key_id , aws_secret_access_key AWS credentials ` `
` `
[default] region = ap-northeast-1 [profile profile-custodian] region = ap-northeast-1 sso_start_url
= https://a-0123456789.awsapps.com/start sso_region = ap-northeast-1 sso_account_id = 123456789012 sso_role_name = BaseRole output = json ... [profile profile-other] source_profile = profile-custodian role_arn = arn:aws:iam::123456789012:role/SampleRole
.aws/con g pro le AWS --profile sourece_profile role_arn Role switch
Role ` ` $ aws s3 list → [default] $ aws s3 list --profile profile-other → [profile-other] ` ` ` `
Role source_profile role_arn SSO SSO aws_access_key_id aws_secret_access_key ` ` `
` ` ` ` ` [profile profile-custodian] region = ap-northeast-1 sso_start_url = https://a-0123456789.awsapps.com/start sso_region = ap-northeast-1 sso_account_id = 123456789012 sso_role_name = BaseRole output = json
Switch Role source_profile role_arn source_profile role_arn switch Role ` `
` ` ` ` ` ` [profile profile-other] source_profile = profile-custodian role_arn = arn:aws:iam::123456789012:role/SampleRole
.aws/credential .aws/con g ? aws_access_key_id aws_secret_access_key con g aws configure
.aws/credential ` ` ` ` ` ` ` `
SSO MFA SSO Role Switch role $ aws sso login
--profile profile-custodian
~/.aws/config ! AWS con g AWS ` `
( ) v2 AWS CLI aws CLI v2 ! !
--cli-auto-prompt ` ` ❯ aws --cli-auto-prompt > aws sso login --profile profile-custodian ────────────────────────────────────────────────────────────────────────────────────────────────────────────────── [ENTER] Autocomplete Choice/Execute Command [F1] Show Shortkey Help [F2] Focus on next panel [F3] Hide/Sh ow Docs [F5] Hide/Show Output
Appendix https://docs.aws.amazon.com/ja_jp/cli/latest/userguide/cli-con gure- les.html
END