Skip to content

Conversation

liramon1
Copy link
Contributor

@liramon1 liramon1 commented Jul 31, 2025

Problem

The IAM type changes are behind the changes in aws/language-servers#2021. As a result, the language-servers PR is unable to compile.

Solution

  • Add types and handler for profile change notification

License

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

@liramon1 liramon1 changed the title feat: add types for shared config file watcher feat: add types for shared config file watcher and optionally decrypt updateProfile params Aug 1, 2025
@liramon1 liramon1 changed the title feat: add types for shared config file watcher and optionally decrypt updateProfile params feat: add types for file watcher and optionally decrypt updateProfile params Aug 1, 2025
@@ -304,7 +307,15 @@ export const standalone = (props: RuntimeProps) => {

const identityManagement: IdentityManagement = {
onListProfiles: handler => lspConnection.onRequest(listProfilesRequestType, handler),
onUpdateProfile: handler => lspConnection.onRequest(updateProfileRequestType, handler),
onUpdateProfile: handler =>
lspConnection.onRequest(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this send unencrypted profile details to the client?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, onUpdateProfile does send anything to the client. onListProfiles would though, so it might be worth encrypting that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yes, that would be required.

@liramon1 liramon1 changed the title feat: add types for file watcher and optionally decrypt updateProfile params feat: add types for shared credentials file watcher Aug 1, 2025
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.

2 participants