Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromonaco committed Jul 17, 2023
1 parent 2009ab7 commit 4219425
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@
},
"active": "418ab84c808d127b",
"lastOpenFiles": [
"Cloud/AWS/Index.md",
"Cloud/AWS/Moto.md",
"Cloud/AWS/Cognito.md",
"Cloud/AWS/Index.md",
"Tools/Docker Desktop.md",
"APIs/GitHub API.md",
"APIs/Google Calendar API.md",
Expand Down
12 changes: 6 additions & 6 deletions src/Cloud/AWS/Cognito.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ Execute `POST http://localhost:52009/moto-api/seed?a=42` to ensure the resulting
```
aws --endpoint-url=http://localhost:52009 cognito-idp create-user-pool --pool-name "LocalDev"
aws --endpoint-url=http://localhost:52009 cognito-idp create-user-pool-client --user-pool-id "ap-southeast-2_366f47d5c8fd1bbefcf3afec577af68d09ebfa7d5" --client-name msnotification --generate-secret
aws --endpoint-url=http://localhost:52009 cognito-idp create-user-pool-client --user-pool-id "ap-southeast-2_2ee240fa04d40b5bbea96b2b752cb0b26dc4366b8" --client-name msnotification --generate-secret
aws --endpoint-url=http://localhost:52009 cognito-idp admin-create-user --user-pool-id "ap-southeast-2_366f47d5c8fd1bbefcf3afec577af68d09ebfa7d5" --username "testuser"
aws --endpoint-url=http://localhost:52009 cognito-idp admin-create-user --user-pool-id "ap-southeast-2_2ee240fa04d40b5bbea96b2b752cb0b26dc4366b8" --username "testuser"
aws --endpoint-url=http://localhost:52009 cognito-idp admin-set-user-password --user-pool-id "ap-southeast-2_366f47d5c8fd1bbefcf3afec577af68d09ebfa7d5" --username "testuser" --password "L0c4lD3v" --permanent
aws --endpoint-url=http://localhost:52009 cognito-idp admin-set-user-password --user-pool-id "ap-southeast-2_2ee240fa04d40b5bbea96b2b752cb0b26dc4366b8" --username "testuser" --password "L0c4lD3v!!!" --permanent
aws --endpoint-url=http://localhost:52009 cognito-idp initiate-auth --auth-flow USER_PASSWORD_AUTH --auth-parameters USERNAME=testuser,PASSWORD=L0c4lD3v --client-id 71hfe86y5r215dew1zcyqesh0a --region ap-southeast-2
aws --endpoint-url=http://localhost:52009 cognito-idp initiate-auth --auth-flow USER_PASSWORD_AUTH --auth-parameters USERNAME=testuser,PASSWORD=L0c4lD3v!!! --client-id 71hfe86y5r215dew1zcyqesh0a --region ap-southeast-2
```


### Troubleshoot

```
aws --endpoint-url=http://localhost:52009 cognito-idp list-user-pools
aws --endpoint-url=http://localhost:52009 cognito-idp list-user-pools --max-results 20
aws --endpoint-url=http://localhost:52009 cognito-idp list-user-pool-clients --user-pool-id ap-southeast-2_366f47d5c8fd1bbefcf3afec577af68d09ebfa7d5
aws --endpoint-url=http://localhost:52009 cognito-idp list-user-pool-clients --user-pool-id ap-southeast-2_2ee240fa04d40b5bbea96b2b752cb0b26dc4366b8
```

0 comments on commit 4219425

Please sign in to comment.