AWS signature version 4 signing process for the python requests module
84
Pending
Does it follow best practices?
Impact
84%
1.10xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates how well the engineer uses the aws-requests-auth package to implement authenticated requests to multiple AWS services. The focus is on properly configuring the AWSRequestsAuth class for different service types and integrating it with the requests library.",
"type": "weighted_checklist",
"checklist": [
{
"name": "AWSRequestsAuth Import",
"description": "Imports the AWSRequestsAuth class from the aws_requests_auth package",
"max_score": 10
},
{
"name": "Credential Initialization",
"description": "Properly initializes AWSRequestsAuth instances with aws_access_key and aws_secret_access_key parameters from the client's credentials",
"max_score": 15
},
{
"name": "Elasticsearch Service Configuration",
"description": "Creates an AWSRequestsAuth instance with aws_service='es' and the correct aws_host and aws_region for Elasticsearch requests",
"max_score": 20
},
{
"name": "API Gateway Service Configuration",
"description": "Creates an AWSRequestsAuth instance with aws_service='execute-api' and the correct aws_host and aws_region for API Gateway requests",
"max_score": 20
},
{
"name": "Requests Library Integration",
"description": "Uses the AWSRequestsAuth instance as the auth parameter when making requests with the requests library (e.g., requests.get(..., auth=aws_auth) or requests.post(..., auth=aws_auth))",
"max_score": 20
},
{
"name": "Payload Handling",
"description": "Correctly handles different payload types: empty/no payload for GET requests to Elasticsearch, and JSON payload (using json parameter or properly formatted data) for POST requests to API Gateway",
"max_score": 15
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10