TDTech Digest

022. 2025년 1월 22일 이전 생성 에이전트의 리소스 암호화 (Encryption of agent resources for agents created before January 22, 2025)

  • 원문: English
  • 위치: Security, Guardrails, and Observability › Security › Data protection › Data encryption › Encryption of agent resources › Encryption of agent resources for agents created before January 22, 2025

한 줄 요약

2025-01-22 이전에 만든 에이전트의 세션 정보를 CMK로 암호화하려면 InvokeAgent 호출 주체의 IAM 정책과 KMS 키 정책을 아래처럼 설정합니다. 이후 생성 에이전트는 019를 따르세요.

핵심 내용

  • 기본: Bedrock이 에이전트 세션 정보를 AWS 관리형 키(AWS managed key) 로 암호화. 선택적으로 CMK 사용.

1) 자격 증명 기반 정책 (InvokeAgent 호출 주체)

액션리소스조건
kms:GenerateDataKey, kms:Decrypt키 ARNkms:EncryptionContext:aws:bedrock:arn = arn:aws:bedrock:{region}:{account}:agent/{agent-id}

2) 키 정책 (Statement 4개)

SidPrincipal액션조건
AllowRootModifyKMSKey계정 rootkms:*-
AllowBedrockEncryptAgentbedrock.amazonaws.comkms:GenerateDataKey, kms:Decrypt에이전트 ARN 암호화 컨텍스트
AllowRoleEncryptAgent역할kms:GenerateDataKey*, kms:Decrypt-
AllowAttachmentPersistentResourcesbedrock.amazonaws.comkms:CreateGrant, kms:ListGrants, kms:RevokeGrantkms:GrantIsForAWSResource = true

📝 원문 확인 필요: 이 페이지는 기본 키를 “AWS 관리형 키(AWS managed key)“라고 하지만, 018은 “AWS 소유 키(AWS owned keys)“라고 합니다.

SA 관점

  • 오래된 에이전트를 새 방식(필드 단위 CMK, 019)으로 옮길지 검토할 때 생성일 기준이 2025-01-22라는 점을 기억하세요.