DEV Community

Discussion on: Share Your AWS S3 Private Content With Others, Without Making It Public

Collapse
 
idrisrampurawala profile image
Idris Rampurawala

Hey, it is not recommended to use AWS secrets for any AWS SDK (boto3 in your case). The recommended method is to install AWS CLI in your local machine and configure it with your IAM secret keys. Now, in this project you only need to add this profile-name (gets generated by AWS CLI setup) in .env against AWS_PROFILE_NAME key and your AWS SDK should work then.