{"id":22441209,"url":"https://github.com/kanmu/rdsauth","last_synced_at":"2026-05-14T12:32:00.465Z","repository":{"id":266428133,"uuid":"898318544","full_name":"kanmu/rdsauth","owner":"kanmu","description":"rdsauth is a tool to generate an auth token used to connect to a db with IAM credentials.","archived":false,"fork":false,"pushed_at":"2026-04-23T03:49:52.000Z","size":92,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-04-23T05:29:01.476Z","etag":null,"topics":["aws","golang","iam","rds"],"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/kanmu.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-04T07:22:14.000Z","updated_at":"2026-04-23T03:49:54.000Z","dependencies_parsed_at":"2024-12-05T02:32:58.949Z","dependency_job_id":null,"html_url":"https://github.com/kanmu/rdsauth","commit_stats":null,"previous_names":["winebarrel/rdsauth","kanmu/rdsauth"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/kanmu/rdsauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanmu%2Frdsauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanmu%2Frdsauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanmu%2Frdsauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanmu%2Frdsauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanmu","download_url":"https://codeload.github.com/kanmu/rdsauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanmu%2Frdsauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33024921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","golang","iam","rds"],"created_at":"2024-12-06T02:13:25.628Z","updated_at":"2026-05-14T12:32:00.437Z","avatar_url":"https://github.com/kanmu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rdsauth\n\n[![CI](https://github.com/kanmu/rdsauth/actions/workflows/ci.yml/badge.svg)](https://github.com/kanmu/rdsauth/actions/workflows/ci.yml)\n\nrdsauth is a tool to generate an auth token used to connect to a db with IAM credentials.\n\n## Download\n\nhttps://github.com/kanmu/rdsauth/releases/latest\n\n## Usage\n\n```\nUsage: rdsauth \u003curl\u003e [flags]\n\nArguments:\n  \u003curl\u003e    Database URL\n\nFlags:\n  -h, --help       Show help.\n  -e, --export     Output as environment variable.\n      --version\n```\n\n### PostgreSQL\n\n```sh\n$ MY_DB_HOST=database-1.cluster-abcdef012345.us-east-1.rds.amazonaws.com\n$ $(rdsauth -e postgres://scott@$MY_DB_HOST)\n$ psql -h $MY_DB_HOST -U scott\n...\npostgres=\u003e\n```\n\n### MySQL\n\n```sh\n$ MY_DB_HOST=database-1.cluster-abcdef012345.us-east-1.rds.amazonaws.com\n$ $(rdsauth -e mysql://scott@$MY_DB_HOST)\n$ mysql -h $MY_DB_HOST -u scott --enable-cleartext-plugin\n...\nmysql\u003e\n```\n\n### CNAME support\n\n```sh\n$ dig +short cname my-db.example.com\ndatabase-1.cluster-abcdef012345.us-east-1.rds.amazonaws.com\n\n$ $(rdsauth -e postgres://scott@my-db.example.com)\n$ psql -h my-db.example.com -U scott\n...\npostgres=\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanmu%2Frdsauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanmu%2Frdsauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanmu%2Frdsauth/lists"}