I need to download a file from aws bucket ( name known ) and object name know. But access key id and secret key are not known.
import boto3
import pandas as pd
s3 = boto3.client('s3')
s3 = boto3.resource(service_name='s3')
s3.Bucket('yz').download_file(Key='keh.docx', Filename='keh.docx')
Getting the Following error NoCredentialsError: Unable to locate credentials
Is there any way that we can download a file without secret key and access id?