Open twwildey opened 4 months ago
Hi Todd, indeed so far we didn't have example of using IAM-based Amazon Q server in this project. I've created sample configuration in this PR, it shows how to build and run it with sample VSCode extension https://github.com/aws/language-servers/pull/264
I see that https://github.com/aws/language-servers/pull/264 was merged @viktorsaws: https://github.com/aws/language-servers/blob/main/app/aws-lsp-codewhisperer-binary/src/iam-standalone.ts
This definitely unblocks me now, but we should iterate towards an LSP server that accepts either Builder ID bearer tokens or IAM credentials without needing to switch the executable. Switching the executable is very inconvenient to any LSP plugins in Sublime Text. Should we use this GitHub issue for tracking this?
Is your feature request related to a problem? Please describe.
The LSP server for AWS Q Developer is only supporting Bearer tokens at this time and not IAM credentials:
You can see this here effectively:
Describe the solution you'd like
Code search shows that nothing is actually referencing
CodeWhispererServiceIAM
effectively yet:I will either need to get bearer tokens for a Builder ID, or we'll need to bridge the gap for supporting IAM-based authentication for the LSP service. As an internal employee at Amazon, it is significantly easier for me to use IAM credentials over a bearer token for a Builder ID.