Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

[AWS SUPPORT] Support AWS Task Roles for S3 Access without Explicit AWS Keys #764

@tom1322s

Description

@tom1322s

Description:
The current implementation for creating an S3 client in the settings.py file explicitly requires AWS access keys, as seen in settings.py:

This approach is not optimal when running within AWS environments such as ECS tasks with IAM roles that have the necessary S3 permissions. In these scenarios, AWS automatically manages the credentials, eliminating the need to explicitly provide AWS access keys.

Proposed Solution:
Remove the explicit requirement for AWS access keys in the S3 client creation logic. Allow the AWS SDK to automatically manage credentials when the application is running in an AWS environment with IAM roles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions