Skip to content

Commit

Permalink
docs: add examples to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
un0tec authored Dec 2, 2024
1 parent 76acfb1 commit 4c311f4
Showing 1 changed file with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,54 @@ N/A

## # Examples

N/A
Linux: `~/awssopilot-config`\
Windows: `%userprofile%/awssopilot-config`

```
{
"profiles": [
"profile1",
"profile2",
"profile3"
],
"email": "[email protected]",
"password": "password",
"type": "call",
"phone": "last_two_phone_digits"
}
```
**App output:**
```
Setting profile: profile1
Loading url: https://device.sso.eu-west-1.amazonaws.com/?user_code=XXXX-XXX
Approving code...
Logging user...
Loading app code...
Awaiting approval of code: 59
Approving access...
Awaiting graceful time...
Executing YAWSSO...
------------------------------------------
SSO profile 'profile1' token renewed
IAM profile 'profile1-iam' configured
------------------------------------------
```
**Call output:**
```
Setting profile: profile1
Loading url: https://device.sso.eu-west-1.amazonaws.com/?user_code=XXXX-XXX
Approving code...
Logging user...
Logging with phone call...
Awaiting approval call...
Approving access...
Awaiting graceful time...
Executing YAWSSO...
-----------------------------------------
SSO profile 'profile1' token renewed
IAM profile 'profile-iam' configured
-----------------------------------------
```

## # License

Expand Down

0 comments on commit 4c311f4

Please sign in to comment.