Good that you've ignored *.csv on your gitignore.
But, it is a better practice to keep AWS keys as Env Variables. Most of the AWS clients, including boto3 will look for keys in order of preference (Env Variable, then system property, then client params).