* fix: remove unused endpoint URL from S3 client initialization in storage settings
* feat: add RDS IAM authentication backend for PostgreSQL
- Introduced a new database backend that utilizes AWS RDS IAM authentication, allowing for secure connection management via short-lived tokens generated by boto3.
- Updated common settings to enable this backend based on the USE_RDS_IAM_AUTH environment variable.
- Added initial files for the new backend implementation.
* fix: update database password settings to include RDS IAM authentication note
- Added comments to the PostgreSQL password settings in common.py to clarify that the password should be omitted when using RDS IAM authentication (USE_RDS_IAM_AUTH=1).
* feat: implement RDS IAM authentication backend for PostgreSQL
- Added new files for the RDS IAM authentication backend, enabling secure database connections using short-lived tokens generated by boto3.
- Updated common settings to conditionally use this backend based on the USE_RDS_IAM_AUTH environment variable.
* fix: update comments for PostgreSQL password settings to reflect RDS IAM usage
- Clarified comments in common.py regarding the omission of database passwords when using AWS IAM roles for RDS authentication.
- Adjusted logic to remove the password field from database settings when AWS_ROLE_ARN is set, ensuring correct behavior with RDS IAM.
* feat: implement ElastiCache IAM authentication for Redis
- Added functionality to generate and cache short-lived IAM tokens for ElastiCache Redis connections.
- Updated redis_instance function to support IAM authentication when AWS_ROLE_ARN is set, allowing secure connections without a password.
- Enhanced comments to clarify the use of IAM tokens in Redis settings.
* Revert "feat: implement ElastiCache IAM authentication for Redis"
This reverts commit 3827be0ccffc6b661e2918904bcaebdfdb00df59.
* feat: enhance OpenSearch IAM authentication configuration
- Updated OpenSearch settings in common.py to support IAM authentication when AWS_ROLE_ARN is set and no explicit credentials are provided.
- Added logic to configure OpenSearch authentication using boto3 for secure connections.
- Included requests-aws4auth as a dependency in base.txt for AWS authentication support.
* fix: update comments for database password settings in common.py
- Clarified comments regarding the precedence of explicit database credentials over AWS_ROLE_ARN for PostgreSQL and OpenSearch configurations.
- Enhanced documentation to ensure accurate understanding of RDS IAM usage and authentication behavior.
* fix: cosmetic changes linting related
* chore: remove unused RDS IAM authentication backend files
- Deleted the RDS IAM backend implementation files from the project as they are no longer needed.
- Updated common.py to remove related comments and logic for RDS IAM authentication, ensuring clarity in database configuration settings.