{"id":20532508,"url":"https://github.com/joshdk/aws-console","last_synced_at":"2026-02-25T16:33:59.280Z","repository":{"id":37885427,"uuid":"416626459","full_name":"joshdk/aws-console","owner":"joshdk","description":"🔗 Generate a temporary login URL for the AWS Console ","archived":false,"fork":false,"pushed_at":"2025-11-25T13:45:02.000Z","size":106,"stargazers_count":29,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-28T19:33:05.787Z","etag":null,"topics":["aws","aws-auth","aws-cli","aws-console","aws-sdk","go","golang","hacktoberfest"],"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/joshdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-13T07:06:27.000Z","updated_at":"2025-11-25T13:45:06.000Z","dependencies_parsed_at":"2025-04-14T06:31:33.109Z","dependency_job_id":null,"html_url":"https://github.com/joshdk/aws-console","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/joshdk/aws-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Faws-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Faws-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Faws-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Faws-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshdk","download_url":"https://codeload.github.com/joshdk/aws-console/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Faws-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29830255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T15:41:19.027Z","status":"ssl_error","status_checked_at":"2026-02-25T15:40:47.150Z","response_time":61,"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":["aws","aws-auth","aws-cli","aws-console","aws-sdk","go","golang","hacktoberfest"],"created_at":"2024-11-16T00:15:17.420Z","updated_at":"2026-02-25T16:33:59.252Z","avatar_url":"https://github.com/joshdk.png","language":"Go","readme":"[![AWS Console][banner-image-link]][github-repo-link]\n\n[![License][license-badge]][license-link]\n[![Actions][github-actions-badge]][github-actions-link]\n[![Releases][github-release-badge]][github-release-link]\n\n# AWS Console\n\n🔗 Generate a temporary login URL for the AWS Console\n\n## Installation\n\nPrebuilt binaries for several architectures can be found attached to any of the available [releases][github-release-link].\n\nFor Linux:\n```shell\nwget https://github.com/joshdk/aws-console/releases/download/v0.4.0/aws-console-linux-amd64.tar.gz\ntar -xf aws-console-linux-amd64.tar.gz\nsudo install aws-console /usr/bin/aws-console\n```\n\nFor Mac:\n```shell\nbrew tap joshdk/tap\nbrew install joshdk/tap/aws-console\n```\n\nA development version can also be built directly from this repository.\nRequires that you already have a functional Go toolchain installed.\n```shell\ngo install github.com/joshdk/aws-console@master\n```\n\n## Usage\n\n### Configs and Credentials\n\nThis tool generates temporary login URLs for the AWS Console using the credentials from a named AWS cli profile.\n\nThe configuration files for these named profiles are located at `~/.aws/credentials` and `~/.aws/config`.\nFor more information on these two file and configuring profiles, please take a look at:\n\n- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html\n- https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html\n\n### User Federation\n\nIn the likely event that a named profile provides credentials for an IAM user (opposed to an IAM role), that user must first be federated to obtain temporary credentials.\nAWS does not permit generating a Console login URL using IAM user credentials, which is why federating users is necessary.\nFor more information on federating credentials, please take a look at:\n\n- https://docs.aws.amazon.com/STS/latest/APIReference/API_GetFederationToken.html\n\nThis tool will detect and automatically federate IAM users transparently.\n\n### Examples\n\nGenerate an AWS Console login URL for the default profile:\n```shell\n$ aws-console\n```\n\nOr for the named \"production\" profile:\n```shell\n$ aws-console production\n```\n\nOr from the output of the aws cli itself:\n```shell\n$ aws sts assume-role … | aws-console -\n```\n\n---\n\nOpen the generated URL using the default browser:\n```shell\n$ aws-console --browser\n```\n\nOr copy the URL to the system clipboard:\n```shell\n$ aws-console --clipboard\n```\n\n---\n\nDisplay the generated URL in the terminal as a QR code:\n```shell\n$ aws-console --qr\n```\n\nOr save it as an image to a file:\n```shell\n$ aws-console --qr \u003e qr.png\n```\n\n---\n\nLimit session duration to half an hour:\n```shell\n$ aws-console --duration 30m\n```\n\nRedirect to the IAM service after logging in:\n```shell\n$ aws-console --location iam\n```\n\n---\n\nFederate the user and use the name \"audit\":\n```shell\n$ aws-console --name audit\n```\n\nAttach a readonly policy to the federated user:\n```shell\n$ aws-console --policy readonly\n```\n\n## License\n\nThis code is distributed under the [MIT License][license-link], see [LICENSE.txt][license-file] for more information.\n\n\u003cp align=\"center\"\u003e\n  Created by \u003ca href=\"https://github.com/joshdk\"\u003eJosh Komoroske\u003c/a\u003e ☕\n\u003c/p\u003e\n\n[banner-image-link]:     https://user-images.githubusercontent.com/307183/192825989-367a0b2b-7fe1-4dae-81ef-f4459c061034.png\n[github-actions-badge]:  https://github.com/joshdk/aws-console/workflows/Build/badge.svg\n[github-actions-link]:   https://github.com/joshdk/aws-console/actions\n[github-release-badge]:  https://img.shields.io/github/release/joshdk/aws-console/all.svg\n[github-release-link]:   https://github.com/joshdk/aws-console/releases\n[github-repo-link]:      https://github.com/joshdk/aws-console\n[license-badge]:         https://img.shields.io/badge/license-MIT-green.svg\n[license-file]:          https://github.com/joshdk/aws-console/blob/master/LICENSE.txt\n[license-link]:          https://opensource.org/licenses/MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdk%2Faws-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdk%2Faws-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdk%2Faws-console/lists"}