@asaunier can you try to replace the upper line with:
```
print credentials['AccessKeyId']
print credentials['SecretAccessKey']

print type(credentials['AccessKeyId'])
print type(credentials['SecretAccessKey'])

self.secret_access_key = str(credentials['SecretAccessKey'])
```