Create a robust Python script capable of securely uploading various processed data files (CSV, JSON) to designated cloud storage buckets (GCS/S3), handling authentication and error retry mechanisms. This will be used by the AI/ML team for dataset management.