aws-cloudformation / rain

A development workflow tool for working with AWS CloudFormation.
Apache License 2.0
771 stars 69 forks source link

Add logout option to rain console #274

Closed khmoryz closed 6 months ago

khmoryz commented 6 months ago

Issue

267

Description of changes:

Add console logout option.

$ ./rain console -l
(explain: Browser starts immediately and access to the sign-out URL)

$ ./rain console -lu 
Open the following URL in your browser: https://signin.aws.amazon.com/oauth?Action=logout&redirect_uri=https://aws.amazon.com

Impact of this change URL generation messages have changed.

before: Generating sign-in URL after: Generating URL

Because, generated URL is not only sign-in URL.

Concern

This feature is tested only on Mac. Not tested on Linux/Windows because of the time-consuming preparation.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

khmoryz commented 6 months ago

@ericzbeard Thanks for your review. Could you check this, please?