Where can i get my AWS Bedrock endpoint , api key?

0

I am trying to use AWS Bedrock Models (such as Claude). I have requested access and have been granted access. I am able to use the web chat interface. However, I am unable to locate the endpoint/url and api key. Where can I find this? I searched the documentation and it says i should see "API Keys" in my Bedrock navigation but it is not there. I found some AWS training videos and it says the API keys should be on the same page where the chat appears. It is not there either. I am not sure where I can get the endpoint and keys so I can connect to the models from my local Python client.

Thank you for any help on this.

mantri
asked 9 days ago294 views
1 Answer
0
Accepted Answer

The API keys referred to are the API Access Key ID and Secret Access Key for your IAM user or role. See this link for reference on creating/managing keys.

This link will also help with configuring your environment with your API keys.

Access to invoke Bedrock models via Boto (Python SDK) are documented here:
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html

Hope this helps!

profile pictureAWS
EXPERT
iBehr
answered 9 days ago
profile picture
EXPERT
reviewed 9 days ago
  • Thanks so much for the quick and helpful reply. Will check these out. I do have a follow-on question. It seems I also need an "endpoint" - this seems like it has to be an http url. Where can I find this endpoint?

  • Here is a list of the Bedrock Endpoints. You will want the Runtime Endpoint for Invoke requests. https://docs.aws.amazon.com/general/latest/gr/bedrock.html

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions