Commit 3ff9966
authored
feat(auth): add support for IAM profile management and flare endpoints (#7659)
## Problem
The webview does not support IAM credentials input and endpoint to LSP
does not support IAM credentials and IAM profiles.
## Solution
This is part of #7507.
- Add IAM credentials option and form to webview
- Modify AuthUtils to switch between SsoLogin and IamLogin strategies
- Add startIamCredentialSetup in backend_amazonq
Meanwhile, we are making changes to language-servers and
language-server-runtimes such that authentication for IAM credentials
can happen on Flare side.
working branches:
https://github.com/liramon1/language-server-runtimes/tree/feature/flare-iam
https://github.com/liramon1/language-servers/tree/liramon/flare-iam
Current PR built upon flare-mega branch and is working to merge with
flare-mega branch. This PR fails a web test that flare-mega branch is
also failing, at the same place.
---
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent 2f55375 commit 3ff9966
File tree
16 files changed
+932
-204
lines changed- packages
- amazonq/test
- e2e/amazonq/utils
- unit/codewhisperer
- region
- util
- core
- src
- auth
- codewhisperer
- client
- ui
- util
- login/webview/vue
- amazonq
- test
- credentials
16 files changed
+932
-204
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments