-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sns iam policy fix
- Loading branch information
Showing
5 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,12 +79,23 @@ Authorization: Bearer xxxx | |
"mfaChannel" : "[email protected]" | ||
} | ||
|
||
### enroll new phone | ||
|
||
POST {{host}}/api/mfa/enrollment | ||
Content-Type: application/json | ||
Authorization: Bearer eyJraWQiOiJmZDEyMjI5Yi1hNGU4LTQzN2EtYTQzZi0yNWZlNzhmYjJmYzAiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1c2VyQGVtYWlsLmNvbSIsImF1ZCI6InVzZXItaW50cm9zcGVjdGlvbiIsIm5iZiI6MTcyNTIyMzQ5MywidXNlcl9uYW1lIjoidXNlckBlbWFpbC5jb20iLCJzY29wZSI6WyJtZmE6ZW5yb2xsbWVudCIsIm9wZW5pZCIsImVtYWlsIiwicHJvZmlsZSJdLCJpc3MiOiJodHRwOi8vbG9jYWwuYXBpLnZhdXRoZW50aWNhdG9yLmNvbTo5MDkwIiwiZXhwIjoxNzI1MjIzODUzLCJpYXQiOjE3MjUyMjM0OTMsImp0aSI6ImQ3OTY0NmFhLWYwZTktNDRjNS1iNTMyLTMzYzI4M2RjMGEzNyIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiIsIlZBVVRIRU5USUNBVE9SX0FETUlOIl19.Zs1XgFPQn5LbMGQSjSSaT6bJqGUE4VK-Kac-aa4pF6zzYD3f-8zsNIHebzsyLMg1zoPOYUpEZuJu1d4eWX3IoOQy-_KTM6JouQCQEotj4qWakBqeJiRqsurOOjTnCGlkSbpNNwn7Put8YhXkaa8fnMCJKGUtDyP4JJkhzGTBZOr0uHIEXFoexhcs1xQEzJI_e0NpT_OCOfMc_dyrw278an9TbjsShg3EA3g_jXX1_Z5NdrnkGw_I-rW3T65Dtosl8oRu5eHLpSMw_7aN_BRt2j8EPcvCS_Ds7mgcPUSxJYLz8I81bmoMI14VUbLmApxQ7-_yrjmyK3EY3JwgVYmjtA | ||
|
||
{ | ||
"mfaMethod": "SMS_MFA_METHOD", | ||
"mfaChannel" : "+39 233 2323233" | ||
} | ||
|
||
|
||
### associate new email | ||
|
||
POST {{host}}/api/mfa/associate | ||
Content-Type: application/json | ||
Authorization: Bearer xxx | ||
Authorization: Bearer eyJraWQiOiJmZDEyMjI5Yi1hNGU4LTQzN2EtYTQzZi0yNWZlNzhmYjJmYzAiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1c2VyQGVtYWlsLmNvbSIsImF1ZCI6InVzZXItaW50cm9zcGVjdGlvbiIsIm5iZiI6MTcyNTIyMzQ5MywidXNlcl9uYW1lIjoidXNlckBlbWFpbC5jb20iLCJzY29wZSI6WyJtZmE6ZW5yb2xsbWVudCIsIm9wZW5pZCIsImVtYWlsIiwicHJvZmlsZSJdLCJpc3MiOiJodHRwOi8vbG9jYWwuYXBpLnZhdXRoZW50aWNhdG9yLmNvbTo5MDkwIiwiZXhwIjoxNzI1MjIzODUzLCJpYXQiOjE3MjUyMjM0OTMsImp0aSI6ImQ3OTY0NmFhLWYwZTktNDRjNS1iNTMyLTMzYzI4M2RjMGEzNyIsImF1dGhvcml0aWVzIjpbIlJPTEVfVVNFUiIsIlZBVVRIRU5USUNBVE9SX0FETUlOIl19.Zs1XgFPQn5LbMGQSjSSaT6bJqGUE4VK-Kac-aa4pF6zzYD3f-8zsNIHebzsyLMg1zoPOYUpEZuJu1d4eWX3IoOQy-_KTM6JouQCQEotj4qWakBqeJiRqsurOOjTnCGlkSbpNNwn7Put8YhXkaa8fnMCJKGUtDyP4JJkhzGTBZOr0uHIEXFoexhcs1xQEzJI_e0NpT_OCOfMc_dyrw278an9TbjsShg3EA3g_jXX1_Z5NdrnkGw_I-rW3T65Dtosl8oRu5eHLpSMw_7aN_BRt2j8EPcvCS_Ds7mgcPUSxJYLz8I81bmoMI14VUbLmApxQ7-_yrjmyK3EY3JwgVYmjtA | ||
|
||
{ | ||
"ticket": "xxxx", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters