Skip to content

Commit

Permalink
update readme with new demo
Browse files Browse the repository at this point in the history
Fixes: #55
  • Loading branch information
synfinatic committed Oct 30, 2021
1 parent 86e265c commit f2059a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AWS SSO CLI Changelog

## [Unreleased]
## [v1.2.0] - 2021-10-29

* `console` command now can use ENV vars via --use-env #41
* Fix bugs in `console` with invalid CLI parsing
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ metadata (tags) and exports the necessary [AWS STS Token credentials](
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html#using-temp-creds-sdk-cli)
to your shell environment.

[![asciicast](https://asciinema.org/a/UOZHKrsUSBXDeP5BS361UcmDU.svg)](https://asciinema.org/a/UOZHKrsUSBXDeP5BS361UcmDU)
## Demo

Here's a quick demo showing how to select a role to assume in interactive mode.
Of course, you can specify the role on the command line and the `exec` command
can run arbitrary commands with the selected role, not just start a new shell.

[![asciicast](https://asciinema.org/a/445604.svg)](https://asciinema.org/a/445604)

## Security

Expand Down Expand Up @@ -70,10 +76,11 @@ ensure that it is executable (`chmod 755 <path>`) and owned by root (`chown root
* `cache` -- Force refresh of AWS SSO role information
* `console` -- Open AWS Console in a browser with the selected role
* `exec` -- Exec a command with the selected role
* `flush` -- Force delete of cached AWS SSO credentials
* `list` -- List all accounts & roles
* `expire` -- Force expire of AWS SSO credentials
* `renew` -- Renew current AWS SSO credentials
* `tags` -- List manually created tags for each role
* `time` -- Print how much time remains for currently selected role
* `version` -- Print the version of aws-sso

### Common Flags
Expand Down

0 comments on commit f2059a9

Please sign in to comment.