LoginSignup
0
0

More than 3 years have passed since last update.

aws-cliでCognitoのトークン(ID、PW、REFRESH)を発行する

Last updated at Posted at 2020-03-24

実行

※ユーザプールの設定で --client-id に指定するアプリクライアントの アプリクライアント > 詳細 > "認証用の管理 API のユーザー名パスワード認証を有効にする (ALLOW_ADMIN_USER_PASSWORD_AUTH)" にチェックが必要

aws cognito-idp admin-initiate-auth \
--auth-flow ADMIN_USER_PASSWORD_AUTH \
--auth-parameters USERNAME=username,PASSWORD=password \
--user-pool-id ap-northeast-1_xxxxxxxxx \
--client-id xxxxxxxxxxxxxxxxxxxxxxxxxx

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0