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

Help with node scripts and AWS #1655

Open
brandonregard opened this issue May 28, 2023 · 1 comment
Open

Help with node scripts and AWS #1655

brandonregard opened this issue May 28, 2023 · 1 comment
Labels
question Further information is requested

Comments

@brandonregard
Copy link

Please chime in here: awslabs/aws-sdk-v3-js-proxy#23

@brandonregard brandonregard added the question Further information is requested label May 28, 2023
@NghiaTranUIT
Copy link
Member

NghiaTranUIT commented May 28, 2023

@brandonregard is it run via NodeJS? If it's, let's try the Automatic Setup: https://docs.proxyman.io/automatic-setup/automatic-setup

It will open the pre-configured Terminal app -> Run your code in this Terminal -> It automatically adds the Proxy, and trust the certificate.

✅ You don't need the aws-sdk-v3-js-proxy anymore. Just run your AWS via the Terminal.

It works out of the box if the aws-sdk-v3 is using axios, or fetch behind the scene.


Technically, aws-sdk might use the built-in fetch library from NodeJS 18 to make RESTFUL APIs, so it required some code to trust Proxyman certificate. By using the Automatic Setup, it's automatically done.

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

No branches or pull requests

2 participants