Skip to main content

Module rds

Module rds 

Source
Expand description

AWS RDS IAM database authentication.

The tokens generated here are not specific to a database engine: the same token authenticates against RDS and Aurora for MySQL and PostgreSQL. The caller passes the token as the password when it connects, over TLS.

Structsยง

RdsAuthToken
An RDS IAM authentication token.
RdsIamAuth
Authenticates database connections to Amazon RDS with AWS IAM.

Enumsยง

RdsTokenError

Constantsยง

AWS_SERVICE ๐Ÿ”’
AWS_TOKEN_EXPIRATION_SECONDS ๐Ÿ”’
DB_ACTION ๐Ÿ”’

Functionsยง

sign_rds_auth_token ๐Ÿ”’
This mirrors aws_sdk_rds::auth_token, without depending on aws-sdk-rds.