Skip to main content
RAD Security creates a comprehensive SBOM (Software Bill of Materials) for your container images compiled within your cluster infrastructure. The rad-sbom plugin downloads images from registry APIs and requires authentication for private repositories. ECR uses short-lived 12-hour tokens, so rad-sbom cannot use standard imagePullSecrets. Instead, an IAM role with the necessary permissions must be attached to the service account named rad-sbom.

Configuring Authentication for ECR

There are two approaches to configure authentication:
  1. EKS Pod Identity - AWS documentation
  2. IRSA - AWS documentation

IAM Policy

Create an IAM policy with the following permissions:

EKS Pod Identity

Create a Pod Identity Association for the rad-sbom service account:
EKS Pod Identity Association
Service Account Association

IRSA

If using IRSA instead of EKS Pod Identity, add the following annotation to your values.yaml: