Commit Graph

3 Commits

Author SHA1 Message Date
Devin AI
f36d48d57e feat: Enhance Bedrock authentication with improved docs, validation, and tests
- Add clearer authentication method comments in documentation examples
- Include security best practices for API key usage
- Add CLI validation hints for AWS Bedrock API key format
- Implement comprehensive error handling tests (timeout, rate limit, invalid key)
- Add connection error and retry scenario test cases
- Maintain consistency between English and Portuguese documentation

Addresses AI code review feedback on PR #3126

Co-Authored-By: Jo\u00E3o <joao@crewai.com>
2025-07-09 12:24:56 +00:00
Devin AI
3eea890409 fix: Remove unused pytest import to resolve lint check
- Remove unused pytest import from test_bedrock_authentication.py
- Fixes F401 lint error that was causing CI failure

Co-Authored-By: Jo\u00E3o <joao@crewai.com>
2025-07-09 12:18:33 +00:00
Devin AI
a670b2b35e feat: Add AWS Bedrock API key authentication support
- Add AWS_BEARER_TOKEN_BEDROCK environment variable to CLI constants
- Update English and Portuguese documentation with both IAM and API key auth methods
- Document boto3 v1.393+ requirement for API key authentication
- Add comprehensive tests for both authentication methods
- Include links to AWS console for API key generation

Addresses issue #3125

Co-Authored-By: Jo\u00E3o <joao@crewai.com>
2025-07-09 12:15:57 +00:00