Hi @AYUSHYADAV,
Here is another option that you might be interested in:
Secure Resource Access Services (SRAS) for ArcGIS: This security layer streamlines secure access to documents on AWS, Azure, and IIS using ArcGIS authentication. It allows you to access AWS attachments without the need for public access to S3 buckets. Explore more details here: SRAS.