{"id":18258929,"url":"https://github.com/pottava/ecr-creds","last_synced_at":"2026-04-29T01:33:37.204Z","repository":{"id":147533051,"uuid":"160913655","full_name":"pottava/ecr-creds","owner":"pottava","description":"Managing Amazon ECR credentials","archived":false,"fork":false,"pushed_at":"2018-12-19T02:01:07.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-08T23:29:32.323Z","etag":null,"topics":["docker","ecr"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pottava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-08T07:06:48.000Z","updated_at":"2018-12-19T01:58:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"7a050ffc-de53-4757-96c7-3e445a58744e","html_url":"https://github.com/pottava/ecr-creds","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pottava/ecr-creds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fecr-creds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fecr-creds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fecr-creds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fecr-creds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pottava","download_url":"https://codeload.github.com/pottava/ecr-creds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pottava%2Fecr-creds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","ecr"],"created_at":"2024-11-05T10:35:28.165Z","updated_at":"2026-04-29T01:33:37.190Z","avatar_url":"https://github.com/pottava.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ECR creds\n\n## Description\n\nThis is a CLI tool which retrieves credentials from Amazon ECR.\n\n\n## Installation\n\ncurl (macOS):\n\n```\n$ curl -Lo ecr-creds https://github.com/pottava/ecr-creds/releases/download/v1.0.0/darwin_amd64\n$ chmod +x ecr-creds\n```\n\ncurl (Linux):\n\n```\n$ curl -Lo ecr-creds https://github.com/pottava/ecr-creds/releases/download/v1.0.0/linux_amd64\n$ chmod +x ecr-creds\n```\n\ngo:\n\n```\n$ go get github.com/pottava/ecr-creds\n```\n\n\n## Parameters\n\nCommon parameters:\n\nEnvironment Variables     | Argument        | Description                     | Required | Default\n------------------------- | --------------- | ------------------------------- | -------- | ---------\nAWS_ACCESS_KEY_ID         | access-key, a   | AWS `access key` for API access | *        |\nAWS_SECRET_ACCESS_KEY     | secret-key, s   | AWS `secret key` for API access | *        |\nAWS_DEFAULT_REGION        | region, r       | AWS `region` for API access     |          | us-east-1\n\n\n## Usage\n\n```console\n$ ecr-creds -a AKIAIOSFODNN7EXAMPLE -s wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY script | sh\nWARNING! Using --password via the CLI is insecure. Use --password-stdin.\nLogin Succeeded\n```\n\n```console\n$ ecr-creds -a AKIAIOSFODNN7EXAMPLE -s wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY get\n{\n  \"account\": \"123456789012\",\n  \"host\": \"123456789012.dkr.ecr.us-east-1.amazonaws.com\",\n  \"user\": \"AWS\",\n  \"password\": \"xxxsomethingwhichcanbeusedasdockerpassword=\",\n  \"endpoint\": \"https://123456789012.dkr.ecr.us-east-1.amazonaws.com\",\n  \"expiresAt\": \"2018-12-31T12:30:00Z\"\n}\n```\n\nWith environment variables:\n\n```console\n$ export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\n$ export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\n$ ecr-creds get account\n123456789012\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottava%2Fecr-creds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpottava%2Fecr-creds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpottava%2Fecr-creds/lists"}