Skip to content

Add --kms-key-arn flag to run insights (parity with run recommendation/batch-evaluation) #1655

Description

@jariy17

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions