5 releases
0.2.0 | Dec 11, 2023 |
---|---|
0.1.3 | Aug 23, 2021 |
0.1.2 | Aug 23, 2021 |
0.1.1 | Aug 23, 2021 |
0.1.0 | Aug 23, 2021 |
#1051 in Database interfaces
24KB
376 lines
rds-iamauth-proxy
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.
Notes
If installation fails with error: failed to download zeroize v1.4.1
— please ensure cargo
is up to date and try again.
Dependencies
~25–38MB
~622K SLoC