Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/un0tec/awssopilot
Browse files Browse the repository at this point in the history
  • Loading branch information
un0tec committed Dec 2, 2024
2 parents aa8fced + 4c311f4 commit dba0d74
Showing 1 changed file with 50 additions and 3 deletions.
53 changes: 50 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

## # Description

`awssopilot` is a command-line tool that automates AWS SSO login for multiple profiles. It supports various login methods such as email/password, phone call, or app-based verification. Additionally, it integrates with [yawsso](https://github.com/victorskl/yawsso) to configure IAM roles once the login process is completed.
`awssopilot` is a command-line tool that automates AWS SSO login for multiple profiles. It supports various login methods such as email/password, phone call, or app-based verification. Additionally, it integrates with [yawsso](https://github.com/victorskl/yawsso) to configure IAM credentials once the login process is completed.

## # Before Running

Expand Down 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 All @@ -66,4 +113,4 @@ We welcome contributions to improve the functionality of `awssopilot`! Here's ho

Your contributions will be greatly appreciated!

:star: Feel free to contribute :star:
:star: Feel free to contribute :star:

0 comments on commit dba0d74

Please sign in to comment.