Skip to content

Commit

Permalink
list doesn't require login
Browse files Browse the repository at this point in the history
No reason to reqiure a valid SSO accesstoken for the
list command since it operates completely off our cache/securestore

Refs: #626
  • Loading branch information
synfinatic committed Oct 29, 2023
1 parent 03d5016 commit a32af36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/aws-sso/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func main() {
case "ecs run", "setup wizard", "setup all":
break // do nothing

case "login", "ecs list", "ecs unload", "ecs profile":
case "list", "login", "ecs list", "ecs unload", "ecs profile":
// Initialize our AwsSSO variable & SecureStore, but don't do any auth
c := &runCtx
s, err := c.Settings.GetSelectedSSO(c.Cli.SSO)
Expand Down

0 comments on commit a32af36

Please sign in to comment.