{"id":18041532,"url":"https://github.com/bruceadams/query-rds-data","last_synced_at":"2026-03-04T23:02:15.005Z","repository":{"id":35097583,"uuid":"206170494","full_name":"bruceadams/query-rds-data","owner":"bruceadams","description":"Query AWS RDS Data from the command line","archived":false,"fork":false,"pushed_at":"2024-02-11T02:43:26.000Z","size":384,"stargazers_count":6,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T15:24:35.035Z","etag":null,"topics":["command-line-tool","hacktoberfest","rds","sql"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bruceadams.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-09-03T20:54:55.000Z","updated_at":"2023-03-13T13:21:32.000Z","dependencies_parsed_at":"2023-11-25T00:20:41.685Z","dependency_job_id":"948dfb6b-d1d7-4553-97e2-7860a6b0795e","html_url":"https://github.com/bruceadams/query-rds-data","commit_stats":{"total_commits":150,"total_committers":3,"mean_commits":50.0,"dds":"0.45333333333333337","last_synced_commit":"9cb9414a104e6b4d857f997503e56b6ae170315f"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/bruceadams/query-rds-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruceadams%2Fquery-rds-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruceadams%2Fquery-rds-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruceadams%2Fquery-rds-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruceadams%2Fquery-rds-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bruceadams","download_url":"https://codeload.github.com/bruceadams/query-rds-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bruceadams%2Fquery-rds-data/sbom","scorecard":{"id":254956,"data":{"date":"2025-08-11","repo":{"name":"github.com/bruceadams/query-rds-data","commit":"5e6b574bfab3c59b22c139337e9388f72b6fe6c9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:17","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: invalid parameter name: .github/workflows/release.yml:72","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:205: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:212: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:226: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:244: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:250: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:283: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:287: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:297: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:143: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:160: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:167: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:185: update your workflow using https://app.stepsecurity.io/secureworkflow/bruceadams/query-rds-data/release.yml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/release.yml:66","Warn: downloadThenRun not pinned by hash: .github/workflows/release.yml:165","Warn: downloadThenRun not pinned by hash: .github/workflows/release.yml:210","Info:   0 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   3 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v4.0.1 not signed: https://api.github.com/repos/bruceadams/query-rds-data/releases/141519980","Warn: release artifact v3.0.2 not signed: https://api.github.com/repos/bruceadams/query-rds-data/releases/141513243","Warn: release artifact v3.0.1 not signed: https://api.github.com/repos/bruceadams/query-rds-data/releases/141512835","Warn: release artifact v3.0.0 not signed: https://api.github.com/repos/bruceadams/query-rds-data/releases/141511277","Warn: release artifact v2.0.1 not signed: https://api.github.com/repos/bruceadams/query-rds-data/releases/71147622","Warn: release artifact v4.0.1 does not have provenance: https://api.github.com/repos/bruceadams/query-rds-data/releases/141519980","Warn: release artifact v3.0.2 does not have provenance: https://api.github.com/repos/bruceadams/query-rds-data/releases/141513243","Warn: release artifact v3.0.1 does not have provenance: https://api.github.com/repos/bruceadams/query-rds-data/releases/141512835","Warn: release artifact v3.0.0 does not have provenance: https://api.github.com/repos/bruceadams/query-rds-data/releases/141511277","Warn: release artifact v2.0.1 does not have provenance: https://api.github.com/repos/bruceadams/query-rds-data/releases/71147622"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2024-0332 / GHSA-q6cp-qfwq-4gcv","Warn: Project is vulnerable to: RUSTSEC-2024-0019 / GHSA-r8w9-5wcg-vfj7","Warn: Project is vulnerable to: GHSA-4p46-pwfr-66x6","Warn: Project is vulnerable to: RUSTSEC-2025-0009","Warn: Project is vulnerable to: GHSA-c86p-w88r-qvqr","Warn: Project is vulnerable to: RUSTSEC-2024-0336 / GHSA-6g7w-8wpp-frhj","Warn: Project is vulnerable to: GHSA-rr8g-9fpq-6wmg","Warn: Project is vulnerable to: RUSTSEC-2025-0023"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T09:25:49.642Z","repository_id":35097583,"created_at":"2025-08-17T09:25:49.642Z","updated_at":"2025-08-17T09:25:49.642Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30098093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T22:49:54.894Z","status":"ssl_error","status_checked_at":"2026-03-04T22:49:48.883Z","response_time":59,"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":["command-line-tool","hacktoberfest","rds","sql"],"created_at":"2024-10-30T16:10:15.953Z","updated_at":"2026-03-04T23:02:14.983Z","avatar_url":"https://github.com/bruceadams.png","language":"Rust","readme":"# Query AWS RDS Data from the command line\n\n[![Build Status](https://api.cirrus-ci.com/github/bruceadams/query-rds-data.svg)](https://cirrus-ci.com/github/bruceadams/query-rds-data)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)\n[![Apache License](https://img.shields.io/github/license/bruceadams/query-rds-data?logo=apache)](LICENSE)\n[![Github Release](https://img.shields.io/github/v/release/bruceadams/query-rds-data?logo=github)](https://github.com/bruceadams/query-rds-data/releases)\n[![Crates.io](https://img.shields.io/crates/v/query-rds-data?logo=rust)](https://crates.io/crates/query-rds-data)\n\n## Installing\n\n### Install prebuilt binaries via shell script\n\n```sh\ncurl --proto '=https' --tlsv1.2 -LsSf https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-installer.sh | sh\n```\n\n### Install prebuilt binaries via powershell script\n\n```sh\nirm https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-installer.ps1 | iex\n```\n\n### Install prebuilt binaries into your npm project\n\n```sh\nnpm install query-rds-data\n```\n\nor install and run the binary using `npx`\n\n```sh\nnpx query-rds-data --help\n```\n\n### Install prebuilt binaries via Homebrew\n\n```sh\nbrew install bruceadams/homebrew-utilities/query-rds-data\n```\n\n### Install prebuilt binaries via cargo binstall\n\n```sh\ncargo binstall query-rds-data\n```\n\n## Download\n\n|  File  | Platform | Checksum |\n|--------|----------|----------|\n| [query-rds-data-aarch64-apple-darwin.tar.gz](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-aarch64-apple-darwin.tar.gz) | macOS Apple Silicon | [checksum](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-aarch64-apple-darwin.tar.gz.sha256) |\n| [query-rds-data-x86_64-apple-darwin.tar.gz](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-apple-darwin.tar.gz) | macOS Intel | [checksum](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-apple-darwin.tar.gz.sha256) |\n| [query-rds-data-x86_64-pc-windows-msvc.zip](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-pc-windows-msvc.zip) | Windows x64 | [checksum](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-pc-windows-msvc.zip.sha256) |\n| [query-rds-data-x86_64-unknown-linux-gnu.tar.gz](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-unknown-linux-gnu.tar.gz) | Linux x64 | [checksum](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-unknown-linux-gnu.tar.gz.sha256) |\n| [query-rds-data-x86_64-unknown-linux-musl.tar.gz](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-unknown-linux-musl.tar.gz) | musl Linux x64 | [checksum](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-unknown-linux-musl.tar.gz.sha256) |\n| [query-rds-data-x86_64-pc-windows-msvc.msi](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-pc-windows-msvc.msi) | Windows x64 | [checksum](https://github.com/bruceadams/query-rds-data/releases/latest/download/query-rds-data-x86_64-pc-windows-msvc.msi.sha256) |\n\n## Building\n\nThis is a straightforward [Rust](https://www.rust-lang.org/)\nproject using [Cargo](doc.rust-lang.org/cargo).\nAfter installing [Rust](https://www.rust-lang.org/)\n(I highly recommend using [Rustup](https://rustup.rs/)),\n`cargo build` should _just work_.\n\n## Built-in help\n\n```bash\n$ cargo build  # The first build takes longer, with more output\n    Finished dev [unoptimized + debuginfo] target(s) in 0.22s\n$ target/debug/query-rds-data --help\nQuery AWS RDS Data from the command line\n\nYou can set the environment variable `RUST_LOG` to adjust\nlogging, for example `RUST_LOG=trace query-rds-data`.\n\nUsage: query-rds-data [OPTIONS] \u003cQUERY\u003e\n\nArguments:\n  \u003cQUERY\u003e\n          SQL query\n\nOptions:\n  -p, --profile \u003cPROFILE\u003e\n          AWS source profile to use. This name references an\n          entry in ~/.aws/config\n\n          [env: AWS_PROFILE=]\n\n  -r, --region \u003cREGION\u003e\n          AWS region to target\n\n          [env: AWS_REGION=]\n\n  -c, --db-cluster-identifier \u003cCLUSTER_ID\u003e\n          RDS cluster identifier\n\n          [env: AWS_RDS_CLUSTER=]\n\n  -u, --db-user-identifier \u003cUSER_ID\u003e\n          RDS user identifier (really the AWS secret identifier)\n\n          [env: AWS_RDS_USER=]\n\n  -f, --format \u003cFORMAT\u003e\n          Output format\n\n          [default: csv]\n\n          Possible values:\n          - csv:  CSV output, including a header line\n          - json: A JSON Object. For example:\n            {\"numberOfRecordsUpdated\": 0, \"records\": [{\"id\": 1,\n            \"name\": \"bruce\", \"amount\": 0.05}]}\n\n  -d, --database \u003cDATABASE\u003e\n          Database name\n\n          [env: AWS_RDS_DATABASE=]\n\n  -h, --help\n          Print help (see a summary with '-h')\n\n  -V, --version\n          Print version\n```\n\n## Error messages\n\nI hope that the error messages from `query-rds-data` are helpful\nfor figuring out what went wrong and how to address the issue.\n\n```bash\n# No RDS instances exist\n$ query-rds-data \"select * from db1.names\"\nError: No DBs found\n$ query-rds-data \"select * from db1.names\" --db-cluster-identifier nope\nError: No DB matched \"nope\", available ids are []\n\n# Single RDS instance exists\n$ query-rds-data \"select * from db1.names\" --db-cluster-identifier nope\nError: No DB matched \"nope\", available ids are [\"demo\"]\n\n# No credentials in AWS Secrets Manager\n$ query-rds-data \"select * from db1.names\"\nError: No DB user secrets found\n$ query-rds-data \"select * from db1.names\" --db-user-identifier fake\nError: No DB user matched \"fake\", available users are []\n\n# Single secret exists for this database\n$ query-rds-data \"create database db1\"\n\"\"\n$ query-rds-data \"create table db1.names (id int, name varchar(64))\"\n\"\"\n$ query-rds-data \"insert into db1.names values (1,'Bruce')\"\n\"\"\n$ query-rds-data \"select * from db1.names\"\nid,name\n1,Bruce\n$ query-rds-data \"select * from information_schema.tables where table_schema='db1'\"\nTABLE_CATALOG,TABLE_SCHEMA,TABLE_NAME,TABLE_TYPE,ENGINE,VERSION,ROW_FORMAT,TABLE_ROWS,AVG_ROW_LENGTH,DATA_LENGTH,MAX_DATA_LENGTH,INDEX_LENGTH,DATA_FREE,AUTO_INCREMENT,CREATE_TIME,UPDATE_TIME,CHECK_TIME,TABLE_COLLATION,CHECKSUM,CREATE_OPTIONS,TABLE_COMMENT\ndef,db1,names,BASE TABLE,InnoDB,10,Compact,0,0,16384,0,0,0,NULL,NULL,NULL,NULL,latin1_swedish_ci,NULL,,\n\n# Explicit cluster and user names can be used\n$ query-rds-data \"select * from db1.names\" --db-cluster-identifier demo\nid,name\n1,Bruce\n$ query-rds-data \"select * from db1.names\" --db-user-identifier admin\nid,name\n1,Bruce\n$ query-rds-data \"select * from db1.names\" --db-cluster-identifier demo --db-user-identifier admin\nid,name\n1,Bruce\n\n# Names that are not found list what is available to be selected\n$ query-rds-data \"select * from db1.names\" --db-cluster-identifier nope\nError: No DB matched \"nope\", available ids are [\"demo\"]\n$ query-rds-data \"select * from db1.names\" --db-user-identifier fake\nError: No DB user matched \"fake\", available users are [\"admin\"]\n\n# If there are multiple clusters or users available, you must select one\n$ query-rds-data \"select * from db1.names\"\nError: Multiple DBs found, please specify one of [\"demo\", \"empty\"]\n$ query-rds-data \"select * from db1.names\" --db-cluster-identifier demo\nError: Multiple DB users found, please specify one of [\"admin\", \"read_only\"]\n$ query-rds-data \"select * from db1.names\"  --db-cluster-identifier demo --db-user-identifier read_only\nid,name\n1,Bruce\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbruceadams%2Fquery-rds-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbruceadams%2Fquery-rds-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbruceadams%2Fquery-rds-data/lists"}