server.test.py 277 B

123456789
  1. # Do not hard code credentials
  2. client = boto3.client(
  3. 's3',
  4. # Hard coded strings as credentials, not recommended.
  5. aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow
  6. aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'
  7. )
  8. # adding another line