aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.49k stars 418 forks source link

[split sessions] feat(auth): forget about Amazon Q connections in toolkit #5144

Closed hayemaxi closed 3 months ago

hayemaxi commented 3 months ago

Separate sessions commit

If the Toolkit has a connection with Amazon Q scopes, it must be in use by Amazon Q. We will forget these in Toolkit's auth. They will remain on disk. This will log out Q + Toolkit auth connections in Toolkit only.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.