Summary
run insights uses the batch-evaluation API, which accepts kmsKeyArn, but the command exposes no --kms-key-arn flag. run recommendation and run batch-evaluation already support it.
Evidence
- AWS:
StartBatchEvaluation accepts kmsKeyArn (src/cli/aws/agentcore-batch-evaluation.ts:131).
- CLI:
--kms-key exists on run batch-evaluation (run/command.tsx:214) and run recommendation (:479), but run insights (:365) has none.
Proposal
Add an optional --kms-key-arn <arn> flag (no default) to run insights, passed through as kmsKeyArn. Achieves parity with the sibling job commands.
Summary
run insightsuses the batch-evaluation API, which acceptskmsKeyArn, but the command exposes no--kms-key-arnflag.run recommendationandrun batch-evaluationalready support it.Evidence
StartBatchEvaluationacceptskmsKeyArn(src/cli/aws/agentcore-batch-evaluation.ts:131).--kms-keyexists onrun batch-evaluation(run/command.tsx:214) andrun recommendation(:479), butrun insights(:365) has none.Proposal
Add an optional
--kms-key-arn <arn>flag (no default) torun insights, passed through askmsKeyArn. Achieves parity with the sibling job commands.