{"id":15113796,"url":"https://github.com/ajaykumar4/aws-eks-ecr-script","last_synced_at":"2026-02-11T14:03:44.782Z","repository":{"id":252104421,"uuid":"839439576","full_name":"ajaykumar4/aws-eks-ecr-script","owner":"ajaykumar4","description":"Bash script for aws sso login, download eks kubeconfig, ecr login to docker/podman for selected aws profile","archived":false,"fork":false,"pushed_at":"2024-08-07T16:07:43.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T13:56:18.218Z","etag":null,"topics":["aws","awscli-login","awscliv2","bash","bash-script","docker","ecr","eks","kubectl","podman","zshrc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajaykumar4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-08-07T15:58:44.000Z","updated_at":"2024-08-07T16:08:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fb3e2c4-a9f1-4c2b-b7d5-585674fd1fb4","html_url":"https://github.com/ajaykumar4/aws-eks-ecr-script","commit_stats":null,"previous_names":["ajaykumar4/aws-eks-ecr-script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajaykumar4/aws-eks-ecr-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaykumar4%2Faws-eks-ecr-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaykumar4%2Faws-eks-ecr-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaykumar4%2Faws-eks-ecr-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaykumar4%2Faws-eks-ecr-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajaykumar4","download_url":"https://codeload.github.com/ajaykumar4/aws-eks-ecr-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaykumar4%2Faws-eks-ecr-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["aws","awscli-login","awscliv2","bash","bash-script","docker","ecr","eks","kubectl","podman","zshrc"],"created_at":"2024-09-26T01:23:18.565Z","updated_at":"2026-02-11T14:03:44.770Z","avatar_url":"https://github.com/ajaykumar4.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# This Repo will setup shortcut for authenicate aws sso, eks kubeconfig, ecr and container details for debugging \n\n\n## setup\n### prerequisite\ninstalling packages using brew for macos and linux\n```\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\nbrew install awscli\nbrew install fzf\nbrew install kubectx\nbrew install kubectl\n```\n\n### Install aws_eks_ecr shortcut script using below command:  \n\n`BU` values is required to get AWS account details:\n\n- `devops`: DevOps Account (office)\n- `personal`: Personal Account (personal)\n- `all`: Combines all accounts config from aws_config directory\n\n```\n# Replace \u003cBU\u003e with filename (i.e, devops/personal/all) from aws_config directory\ncurl -sSL https://raw.githubusercontent.com/ajaykumar4/aws-eks-ecr-script/main/install.sh | bash -s -- \u003cBU\u003e\n```\n\n## Run this command to login to aws, download eks kubeconfig, authenicate ecr.  \n```\naws_sso_login\n```\n\n## Run this command to set kube context of eks\n```\nkubectx\n```\n\n## Run this command to display service container output\n```\ncontainer_log \u003cservice_name\u003e \u003cenv\u003e-\u003cdomain\u003e\n```\n\n## Run this command to display service container and istio output\n```\nall_container_log \u003cservice_name\u003e \u003cenv\u003e-\u003cdomain\u003e\n```\n## Run this command to download service container output\n```\ndownload_container_log \u003cservice_name\u003e \u003cenv\u003e-\u003cdomain\u003e\n```\n\n## Run this command to download service container and istio output\n```\ndownload_all_container_log \u003cservice_name\u003e \u003cenv\u003e-\u003cdomain\u003e\n```\n## Run this command to display service container description \n```\ncontainer_describe \u003cservice_name\u003e \u003cenv\u003e-\u003cdomain\u003e\n```\n\n## Run this command to download service container description \n```\ndownload_container_describe \u003cservice_name\u003e \u003cenv\u003e-\u003cdomain\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaykumar4%2Faws-eks-ecr-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajaykumar4%2Faws-eks-ecr-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaykumar4%2Faws-eks-ecr-script/lists"}