2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Looking at your screenshot, you have email mapped to user name, so that value needs to be passed in as username
aws cognito-idp admin-get-user --user-pool-id us-west-2_dkEwXXXXX --username testuser@sty-holdings.com
If you want to query by sub
, use ListUsers and filter. Here is an AWS CLI example for list-users
aws cognito-idp list-users --user-pool-id us-west-2_dkEwXXXXX --filter "sub = \"ae163f5c-15f5-4496-XXXX-1703d45XXXXX\""
répondu il y a un mois
0
To make sure I understand, are you saying the documentation is wrong? "If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP." So admin-get-user does not work with sub?
répondu il y a un mois
Contenus pertinents
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an