Skip to content

Conversation

@liramon1
Copy link
Owner

Problem

The identity LSP does not support retrieving IAM role credentials. This forces IDE extensions to implement IAM credentials retrieval, which leads to code duplication and added complexity.

Solution

This is part of aws#1685 and is built on top of aws#1869. This will be copied into aws#1846 when merged.

This PR adds the option to assume a role and generate STS credentials if the language client requests an IAM credential using a RoleSourceProfile. After the STS credential is generated, the identity LSP caches it into .aws/cli/cache and manages its lifecycle, including expiration, invalidation, and refresh.

Note: This PR currently fails the CI pipeline because it depends on changes from aws/language-server-runtimes#599.

License

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

dungdong-aws and others added 3 commits July 29, 2025 10:24
…ors (aws#1969)

This PR adds comprehensive logging to the Amazon Q Developer Profiles fetching process to help diagnose the "failed to fetch: developerProfiles" error that customers are experiencing with ATX transformation. The enhanced logging captures detailed information about endpoints accessed, regions queried, profiles returned, and provides structured error details without modifying any existing functionality.

Key improvements:

- Log all endpoints and regions being queried
- Capture raw API responses and request parameters
- Track profile retrieval success/failure by region
- Provide detailed error information including HTTP status codes and AWS metadata
- Summarize total profiles fetched across all regions

These changes will help identify the root cause of login issues by providing visibility into the profile fetching process.


* feat: enhance profile fetching logs to diagnose developerProfiles errors

* feat: enhance profile fetching logs and add exception handling for debugging

* feat: enhance profile fetching logs and add exception handling for debugging

* refactor: remove unused endpoint parameter from fetchProfilesFromRegion
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@liramon1 liramon1 force-pushed the sts-credentials branch 2 times, most recently from 99f379d to 7c5acf0 Compare July 29, 2025 19:50
bywang56 and others added 5 commits July 29, 2025 17:17
* feat: mcpmanager changes to support http/sse

* fix: fix mcp sse transport headers issue

* fix: fix unit tests for mcp http/sse support

* feat: ux changes for mcp http/sse support

* feat: ux changes for mcp http/sse support
* feat: adding inline chat telemetry

* feat: adding error metrics, updating the names of params

---------

Co-authored-by: Supraja Venkatesh <[email protected]>
The identity LSP was changed to load and save IAM profile kinds.
@liramon1 liramon1 force-pushed the sts-credentials branch 2 times, most recently from 0921ebe to f06d8a6 Compare July 30, 2025 17:48
liramon1 added 29 commits July 30, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants