mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
* work in progress * Update test configs * adding test * golint and change to allowlist * fix race condition, this mistakenly got committed * Updating tests and examples * bump to v6 as this is a breaking change to the config * More consistent variables
10 lines
277 B
Python
10 lines
277 B
Python
# Do not hard code credentials
|
|
client = boto3.client(
|
|
's3',
|
|
# Hard coded strings as credentials, not recommended.
|
|
aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow
|
|
aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'
|
|
)
|
|
|
|
# adding another line
|