Skip to content
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

Sign WebSocket connection requests with AWS Signature #13368

Open
1 task done
nmccrea opened this issue Dec 21, 2024 · 0 comments
Open
1 task done

Sign WebSocket connection requests with AWS Signature #13368

nmccrea opened this issue Dec 21, 2024 · 0 comments
Labels

Comments

@nmccrea
Copy link

nmccrea commented Dec 21, 2024

Is there an existing request for this feature?

  • I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

Can't use the WebSocket feature because my WebSocket endpoint requires authentication with AWS Signature.

Describe the solution you'd like

Ideally, the "Authorization" tab that is available when defining HTTP requests will simply be made available when defining WebSocket connections as well, and the auth settings simply applied to the initial HTTP handshake request.

Describe alternatives you've considered

No response

Additional context

Postman has great support for signing HTTP requests with AWS Signature. However, this feature is not supported for WebSocket connections.

WebSocket APIs built with AWS may require authentication using AWS Signature. It works exactly as in a REST API request, and is used to sign the initial HTTP request sent by the client to initiate the handshake for creating a new WebSocket connection.

Using the command line tool wscat and custom scripts, I have tested this successfully with the signature in the request URL, and verified it works as desired, allowing only connections that are properly signed and authenticated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant