S3 offers IAM roles for tasks that apply to an ECS container. These roles can be used inside the container and work just like roles for EC2. At the moment Artifactory does not support these and fails to start up when one is specified.
- Use credentials
- Use the EC2s role (assuming it has S3 access)