{"id":17299034,"url":"https://github.com/strongjz/ghosts","last_synced_at":"2026-04-28T22:34:32.623Z","repository":{"id":72997036,"uuid":"93193968","full_name":"strongjz/ghosts","owner":"strongjz","description":"Manage multiple AWS STS creds","archived":false,"fork":false,"pushed_at":"2017-09-25T16:17:38.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-12T22:43:33.838Z","etag":null,"topics":["aws","sts"],"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/strongjz.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":"2017-06-02T18:36:32.000Z","updated_at":"2018-07-13T01:20:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe8c71ca-c9b9-4532-9903-ad8d2b2acc5d","html_url":"https://github.com/strongjz/ghosts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/strongjz/ghosts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongjz%2Fghosts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongjz%2Fghosts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongjz%2Fghosts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongjz%2Fghosts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strongjz","download_url":"https://codeload.github.com/strongjz/ghosts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strongjz%2Fghosts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32402670,"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":["aws","sts"],"created_at":"2024-10-15T11:20:48.739Z","updated_at":"2026-04-28T22:34:32.595Z","avatar_url":"https://github.com/strongjz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/strongjz/ghosts)](https://goreportcard.com/report/github.com/strongjz/ghosts)\n\n# ghosts\nGhosts - Go implementation that will help manage multiple STS credentials for shared AWS accounts\n\n-profile will write the the temporary credentails to the defaul ~/.aws/credentials profile name in the option\n\n\nLeaving -profile blank will make GHOSTS print the export varables so that they can be set as environment variables\n\n### Ghost CLI options\nghosts --help\n\nUsage of ghosts:\n\n  -arn string Role ARN\n\n  -base string base profile assuming (default \"default\")\n\n  -config string  Config file that contains assume role information\n\n  -debug debug output\n\n  -duration int number of seconds credentials will last (default 900)\n\n  -mfa indicates if a mfa is need for this role\n\n  -name string name of the session (default \"sts-session\")\n\n  -profile string profile to write credentials out too\n\n  -serial string MFA serial number, arn:aws:iam::123456789012:mfa/user\n\n  -token string MFA token value\n\n    \t\n    \t\n ### Using a Config file\n \n GHOSTS will parse the file provided in the --config option and set the flags for \n \n  -arn \n     \t\n  -base \n   \n  -serial \n      \t\n  -profile\n \n Config File Syntax\n \n~~~YAML\n [profile1]\n base=\"base1\"\n role=\"arn:aws:iam::[ACCOUNT_NUMBER]:role/[ROLENAME]\"\n profile=\"[PROFILE_TO_UPDATE]\"\n mfa_serial=\"arn:aws:iam::[ACCOUNT_NUMBER]:mfa/[IAM_USERNAME]\"\n \n [profile2]\n base=\"base1\"\n role=\"arn:aws:iam::[ACCOUNT_NUMBER]:role/[ROLENAME]\"\n profile=\"[PROFILE_TO_UPDATE]\"\n mfa_serial=\"arn:aws:iam::[ACCOUNT_NUMBER]:mfa/[IAM_USERNAME]\"\n~~~\n \n Go STS overview\n \n https://docs.aws.amazon.com/sdk-for-go/api/service/sts/#pkg-overview\n \n Inspired by \n \n https://github.com/wernerb/aws-adfs/blob/master/aws-adfs.go\n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongjz%2Fghosts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongjz%2Fghosts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongjz%2Fghosts/lists"}