Accessing Amazon Bedrock’s Models with AWS Credentials in Postman: A Step-by-Step Guide
Getting Started with Amazon Bedrock in Postman
Amazon Bedrock simplifies generative AI app development with diverse models through a single API. It’s serverless, emphasizes security, and is user-friendly. In this guide, I’ll show you how to use dynamic AWS credentials in Postman to fetch a list of models from Amazon Bedrock.
I’ll walk through using temporary or dynamic AWS credentials in Postman to get a list of models from Amazon Bedrock.
Setting Up the Connection
The quickest way to verify your Bedrock connection? List the models you can access using ListFoundationModels
.
Request Syntax: Use GET
and /foundation-models
.
Endpoint Info: As highlighted in the Amazon Bedrock endpoints and quotas documentation, use https://bedrock.us-east-1.amazonaws.com
for all operations except InvokeModel
and InvokeModelWithResponseStream
.
Postman Setup: For the us-east-1
region, set your Postman to GET https://bedrock.us-east-1.amazonaws.com/foundation-models
.
Setting Up Authorization in Postman
- Choose “AWS Signature” under Authorization.