Crates.io | rds_proxy |
lib.rs | rds_proxy |
version | 0.2.0 |
source | src |
created_at | 2021-08-23 03:32:12.704887 |
updated_at | 2023-12-11 05:51:59.590614 |
description | Connect existing Postgres tools to an RDS instance using IAM Authentication |
homepage | |
repository | https://github.com/goldfiglabs/rds_iamauth_proxy |
max_upload_size | |
id | 440932 |
size | 82,132 |
rds-proxy
lets you make use of IAM-based authentication to
AWS RDS instances from tools that don't natively support
that method of authentication.
To use it, set up a config file to point to the desired RDS Instance. When you run the proxy, it uses the standard methods of picking up an AWS credential (e.g. credentials file, environment variables, etc.).
Optionally, you can point the proxy at a different endpoint to make use of something like an SSH tunnel to a bastion host.
See sample configs for a direct connection or via an SSH Tunnel
Installation: cargo install rds_proxy
Usage: rds_proxy -c <config file>
Upon success the proxy will be available for connections on 127.0.0.1:5435
.
The connection string passed to the tool making use of the proxy can
include any relevant username that the backend RDS instance is expecting. The
password field is ignored.
If installation fails with error: failed to download zeroize v1.4.1
— please ensure cargo
is up to date and try again.