When you need AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY for Amazon Bedrock | ||
| ||
| You can create AWS access keys in the AWS IAM Console. Below are the step to create AWS Access Keys:
1. AWS Management ConsoleGo to https://console.aws.amazon.com → Sign in to your AWS account → Navigate to
2. Required Permissions for BedrockThe user/role needs this IAM policy:
3. Alternative: Use AWS CLIIf you have AWS CLI configured
4. Security Best Practices• Create a dedicated user for the API server
5. For ProductionConsider using IAM Roles instead of access keys: Once created, set these as environment variables on your remote server. | ||
| | ||
| |