{"id":21286242,"url":"https://github.com/moriyoshi/openssh-iam-ssh-public-key","last_synced_at":"2026-04-12T22:50:37.585Z","repository":{"id":57549459,"uuid":"293577575","full_name":"moriyoshi/openssh-iam-ssh-public-key","owner":"moriyoshi","description":"This is a tiny program that retrieves registered SSH public keys for a specified IAM user and prints them to standard output.","archived":false,"fork":false,"pushed_at":"2024-10-08T07:01:44.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T02:55:44.559Z","etag":null,"topics":["aws","iam","iam-users","openssh","public-key-authentication","ssh"],"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/moriyoshi.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}},"created_at":"2020-09-07T16:24:48.000Z","updated_at":"2024-10-08T07:01:44.000Z","dependencies_parsed_at":"2022-08-27T01:31:21.704Z","dependency_job_id":null,"html_url":"https://github.com/moriyoshi/openssh-iam-ssh-public-key","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moriyoshi/openssh-iam-ssh-public-key","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fopenssh-iam-ssh-public-key","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fopenssh-iam-ssh-public-key/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fopenssh-iam-ssh-public-key/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fopenssh-iam-ssh-public-key/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moriyoshi","download_url":"https://codeload.github.com/moriyoshi/openssh-iam-ssh-public-key/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moriyoshi%2Fopenssh-iam-ssh-public-key/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264002828,"owners_count":23542504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","iam","iam-users","openssh","public-key-authentication","ssh"],"created_at":"2024-11-21T11:28:08.437Z","updated_at":"2026-04-12T22:50:32.546Z","avatar_url":"https://github.com/moriyoshi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openssh-iam-ssh-public-key\n\nThis is a tiny program that retrieves registered SSH public keys for a specified IAM user and prints them to standard output.\n\n## Synopsis\n\n```\n$ openssh-iam-ssh-public-key -user [USER]\n```\n\n`-user` option can be omitted, and output the keys for all the users then.\n\n## Configuration\n\nIn addition to the default AWS SDK configuration scheme, it supports STS credentials for a assumed role through the following environment variables:\n\n* `AWS_STS_SOURCE_PROFILE`\n\n    This specifies the AWS profile in ~/.aws/config used for retrieving temporary credentials.\n\n* `AWS_STS_ASSUME_ROLE_ARN`\n\n    This specifies the ARN for the assumed (target) IAM role.\n\nThis program is particularly useful if you have the following setting in `/etc/ssh/sshd_config`:\n\n```\nAuthorizedKeysCommand openssh-iam-ssh-public-key -user %u\n```\n\nwhich enables one whose unix account name corresponds to an IAM user to get authenticated through the SSH keys associated in IAM.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoriyoshi%2Fopenssh-iam-ssh-public-key","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoriyoshi%2Fopenssh-iam-ssh-public-key","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoriyoshi%2Fopenssh-iam-ssh-public-key/lists"}