# ask-the-community

Albert Wibowo

06/21/2023, 6:16 PM
Hello, I encountered the following problem: I created a python class that reads my AWS credential and save some objects in my s3 bucket. While running flyte locally, the python class works just fine. But when I run this remotely, the task is marked as a success on the UI but it does not save the objects in my s3 bucket. Do I need to configure something? Thank you for helping out.

Samhita Alla

06/22/2023, 6:26 AM
Are you supplying AWS creds via secrets? If so, are you sure Flyte's able to access those secrets?

Albert Wibowo

06/22/2023, 9:14 AM
Well rather than via secrets I supplied the AWS creds through .env file. Do you reckon that's why?
actually yeah. Since it's a hidden file, Docker does not copy them. Ok problem solved. Thanks @Samhita Alla!