Atmos AWS ECR

SkillCloud & infra

This skill gives your AI the Atmos commands for AWS ECR, Amazon's container registry service. Once added, your AI can log you in to ECR container registries and write the Docker credentials Docker needs to work with them. Login can use your configured identity or target a specific registry you name.

Available today. Use it from your connected AI after setup.

After adding it, ask your AI to log in to your ECR registry. It will run the Atmos ECR login and set up the Docker credentials for you.

Then ask your AI: use the Atmos AWS ECR skill

What your AI can do with it

  • Log in to AWS ECR container registries
  • Write Docker credentials so Docker can access your registry
  • Authenticate using your configured identity
  • Log in to a specific registry by naming it

What this skill tells your AI

The instructions your AI receives, as published by cloudposse/atmos in agent-skills/skills/atmos-aws-ecr/SKILL.md and read by ahel’s review.

Use this skill for logging Docker clients into AWS Elastic Container Registry through Atmos. It owns atmos aws ecr login.

Command Model

atmos aws ecr login supports three modes:

# Named integration from auth.integrations
atmos aws ecr login dev/ecr/primary

# All aws/ecr integrations linked to an identity
atmos aws ecr login --identity dev-admin

# Explicit registry URLs using current AWS credentials
atmos aws ecr login --registry 123456789012.dkr.ecr.us-east-1.amazonaws.com

Named integration and identity modes use Atmos Auth. Explicit --registry mode uses current AWS credentials from the environment.

Configuration

Configure ECR integrations under auth.integrations with kind: aws/ecr. Route provider, identity, AWS SSO, SAML, OIDC, assume role, and assume root details to atmos-auth.

auth:
  providers:
    company-sso:
      kind: aws/iam-identity-center
      region: us-east-1
      start_url: https://company.awsapps.com/start/

  identities:
    dev-admin:
      kind: aws/permission-set
      via:
        provider: company-sso
      principal:
        name: AdministratorAccess
        account: dev

  integrations:
    dev/ecr/primary:
      kind: aws/ecr
      via:
        identity: dev-admin
      spec:
        auto_provision: true
        registry:
          account_id: "123456789012"
          region: us-east-2

Agent Guidance

  • Prefer named integrations for stable registries; they make the account, region, and identity explicit in atmos.yaml.
  • Use --identity when the intent is "log in to every ECR registry attached to this identity."
  • Use --registry for one-off registry URLs or when a script intentionally uses ambient AWS credentials instead of Atmos Auth.
  • ECR credentials are written to Docker's config location, respecting DOCKER_CONFIG when set. Set DOCKER_CONFIG first when the workflow needs isolated credentials.
  • spec.auto_provision: true triggers ECR login during atmos auth login; set it to false for registries that should only be logged in explicitly.
  • If Docker, AWS CLI, or other tools must be installed for a CI job, route installation to atmos-toolchain.

Routing

NeedSkill
AWS identity/provider setup, SSO, SAML, OIDC, assume role/rootatmos-auth
Installing Docker, AWS CLI, or related toolsatmos-toolchain
OCI component sources or vendored artifacts stored in registriesatmos-components, atmos-vendoring

Signals

GitHub stars
1k
Forks
175
Last commit
Sep 2026

ahel review

  • S4info
    community integration — published by cloudposse, not aws

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
atmos-aws-ecr
Source
github.com/cloudposse/atmos