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
已提问 25 天前373 查看次数
1 回答
0
已接受的回答

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
专家
iBehr
已回答 25 天前
profile picture
专家
已审核 25 天前
  • 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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则