Skip to main contentModule rds_iam
Source - AwsTokenGenerator ๐
- Production token generator using AWS RDS IAM auth tokens.
- ParsedDbUrl
- Components parsed from a
DATABASE_URL for IAM token injection. - RdsIamTokenProvider
- Generates RDS IAM auth tokens and caches a ready-to-use database URL.
- REFRESH_INTERVAL_SECS ๐
- Refresh interval and retry delays (extracted as constants for test visibility).
- RETRY_DELAYS_SECS ๐
- TokenGenerator ๐
- Trait for generating database auth tokens. Production uses AWS IAM,
tests can inject mock implementations.