-
Notifications
You must be signed in to change notification settings - Fork 52
feat: add types for shared credentials file watcher #640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
runtimes/runtimes/standalone.ts
Outdated
@@ -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( |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
This reverts commit c0f83ff.
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
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.