You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何使用Postman读取AWS S3中存储的CSV文件?

Fetching AWS S3 CSV File via Postman with Temporary Credentials

Got it, let's get that CSV file pulled into Postman using your existing AWS temporary credentials (access key, secret key, session token). Here's exactly what you need to do:

Step 1: Use the Correct S3 Object URL

First, ditch the list-type=2 parameter—this is only for listing bucket contents, not fetching individual files. Your target CSV's direct, simplified URL should be:
https://s3.amazonaws.com/partnertrackingconfigurationdev/QAInputData/CarrierTrackingNumbers.csv
Paste this into Postman's request URL bar, and set the request method to GET.

Step 2: Configure AWS Signature Authentication

Postman handles AWS v4 signing automatically, so you don't need to calculate it manually. Follow these steps:

  • Switch to the Authorization tab in your Postman request
  • From the "Type" dropdown, select AWS Signature
  • Fill in your Access Key and Secret Key
  • Locate the optional Session Token field (scroll down a bit if it's not visible) and paste your session token here—this is critical for using temporary AWS credentials
  • For AWS Region, enter the region your S3 bucket is hosted in. Since your bucket uses the s3.amazonaws.com endpoint, it’s most likely us-east-1; if that fails, confirm your bucket’s region in the AWS Console
  • Set Service Name to s3

Step 3: Send the Request and Access the CSV

Hit the Send button. You’ll see the CSV content in the Body tab—switch to "Raw" or "Preview" to view it properly. If you want to save the file locally, click the Save Response button (top-right of the response pane) and choose a location on your machine.

Troubleshooting Tips

  • If you get a 403 Forbidden error:
    • Double-check that your temporary IAM credentials have the s3:GetObject permission for the QAInputData/CarrierTrackingNumbers.csv object
    • Verify your session token hasn’t expired (temporary credentials typically last 1–12 hours)
    • Confirm you entered the correct AWS region for the bucket

内容的提问来源于stack exchange,提问作者Chandan Kumar Roy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.08 22:27:40