[Torchserve] Download .mar model with AWS credentials

I know that it’s possible to load a model in torchserve using the url to the .mar file and torchserve will download the file for me, but how torchserve could download the file if the url is private in AWS bucket? Especially working with kubernetes.

Thanks!