Use this skill
atmos ai skill install atmos-aws-ecrSKILL.md2.7 KB
View on GitHubAtmos AWS ECR
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.integrationsatmos aws ecr login dev/ecr/primary# All aws/ecr integrations linked to an identityatmos aws ecr login --identity dev-admin# Explicit registry URLs using current AWS credentialsatmos 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-centerregion: us-east-1start_url: https://company.awsapps.com/start/identities:dev-admin:kind: aws/permission-setvia:provider: company-ssoprincipal:name: AdministratorAccessaccount: devintegrations:dev/ecr/primary:kind: aws/ecrvia:identity: dev-adminspec:auto_provision: trueregistry: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
--identitywhen the intent is "log in to every ECR registry attached to this identity." - Use
--registryfor 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_CONFIGwhen set. SetDOCKER_CONFIGfirst when the workflow needs isolated credentials. spec.auto_provision: truetriggers ECR login duringatmos auth login; set it tofalsefor 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
| Need | Skill |
|---|---|
| AWS identity/provider setup, SSO, SAML, OIDC, assume role/root | atmos-auth |
| Installing Docker, AWS CLI, or related tools | atmos-toolchain |
| OCI component sources or vendored artifacts stored in registries | atmos-components, atmos-vendoring |