You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I invoke the workflow with aws @sandbox apigateway apis, @sandbox is ignored, and the console is opened to whichever profile I currently have open in the console session.
Proposed functionality
I invoke the workflow with aws @sandbox apigateway apis and I'm taken to https://signin.aws.amazon.com/switchrole with the fields pre-populated based on the profile's settings using URL params, with the redirect_uri set to the target URI.
Current functionality
I invoke the workflow with
aws @sandbox apigateway apis
, @sandbox is ignored, and the console is opened to whichever profile I currently have open in the console session.Proposed functionality
I invoke the workflow with
aws @sandbox apigateway apis
and I'm taken to https://signin.aws.amazon.com/switchrole with the fields pre-populated based on the profile's settings using URL params, with the redirect_uri set to the target URI.https://github.com/tilfinltd/aws-extend-switch-roles is a good example of this in practice.
Example
I have a sandbox profile defined in ~/.aws/config:
Invoke the workflow with
aws @sandbox apigateway apis
:Current: https://us-east-1.console.aws.amazon.com/apigateway/main/apis?region=us-east-1
Proposed: https://signin.aws.amazon.com/switchrole?account=123456789012&roleName=AdminRole&displayName=sandbox&src=nav&redirect_uri=https%3A%2F%2Fus-east-1.console.aws.amazon.com%2Fapigateway%2Fmain%2Fapis%3Fregion%3Dus-east-1
The text was updated successfully, but these errors were encountered: