Slide 15
Slide 15 text
AWS CLI v2での利用
% aws sso login --profile プロファイル名
Attempting to automatically open the SSO
authorization page in your default browser.
If the browser does not open or you wish to use a
different device to authorize this request, open the
following URL:
https://device.sso.ap-northeast-1.amazonaws.com/
Then enter the code:
XXXX-XXXX
Successully logged into Start URL:ユーザーポータル
のURL
- aws sso loginコマンドを実行すると
ブラウザの認可画面に遷移する。
認可画面でAWS SSOへのログイン・
認可するとアクセストークンが
取得される
- profile毎にsso loginする必要は
ない