- Newest
- Most votes
- Most comments
Hello.
What are your IAM role and bucket policy settings?
I have set up Transfer Family several times, and the most common reason for connection issues is due to problems with policy settings.
I would recommend checking your session policy etc.
https://docs.aws.amazon.com/transfer/latest/userguide/requirements-roles.html
The advice from AI is incorrect. The IAM role you specify for a service-managed user is used. The Transfer server assumes that role on behalf of the user when they log on. I'm also not clear why you would be creating a folder that already exists; is the folder not showing on the file list?
It sounds most likely that there's something wrong with the IAM policies attached to the role "SFTPtoS3bucket". Could you copy its contents here? Please make sure to redact sensitive parts, such as your account ID or KMS key ARNs, before posting here.
Hey,
Hope you're keeping well.
In AWS Transfer Family, even with the Service managed identity option, each user still requires an IAM role that grants S3 access to their HomeDirectory path. The “Access denied” on MKDIR means the role attached to your Transfer Family user doesn’t have the right s3:PutObject and s3:ListBucket permissions for that exact key prefix. Check the IAM role specified in the Transfer Family user configuration and ensure the policy includes the bucket ARN and the exact prefix /daily under s3:ListBucket (with Condition on s3:prefix) and the full object ARN for s3:PutObject.
Thanks and regards,
Taz
answered 10 months ago
Relevant content
asked 3 years ago
asked 3 years ago
