AWS SDK for JavaScript STS Client for Node.js, Browser and React Native, providing temporary security credentials and role assumption capabilities
92
Evaluation — 92%
↑ 1.05xAgent success when using this tile
{
"context": "This evaluation assesses how well the engineer uses the @aws-sdk/client-sts package to implement temporary credential management through IAM role assumption. The criteria focus on proper usage of STS commands, client configuration, and handling of role assumption features like session naming, duration, and session tagging.",
"type": "weighted_checklist",
"checklist": [
{
"name": "STS Client Setup",
"description": "Creates an STSClient instance with proper region and credentials configuration",
"max_score": 15
},
{
"name": "AssumeRoleCommand Usage",
"description": "Uses AssumeRoleCommand with required parameters (RoleArn, RoleSessionName) and sends it via client.send()",
"max_score": 30
},
{
"name": "Duration Handling",
"description": "Configures DurationSeconds parameter for custom session duration",
"max_score": 10
},
{
"name": "Session Tags Implementation",
"description": "Uses the Tags parameter in AssumeRoleCommand to attach session tags with Key and Value properties",
"max_score": 25
},
{
"name": "Credentials Extraction",
"description": "Properly extracts and transforms credentials (AccessKeyId, SecretAccessKey, SessionToken, Expiration) from AssumeRoleCommandOutput.Credentials",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-aws-sdk--client-stsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10