mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
Merge pull request #60 from arahayrabedian/master
AWS credential checking
This commit is contained in:
commit
99574324eb
10 changed files with 129 additions and 0 deletions
6
testing/resources/nonsense.txt
Normal file
6
testing/resources/nonsense.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
some nonsense text generated at https://baconipsum.com/
|
||||
Bacon ipsum dolor amet ipsum fugiat pastrami pork belly, non ball tip flank est short loin. Fatback landjaeger meatloaf flank. Sunt boudin duis occaecat mollit velit. Capicola lorem frankfurter doner strip steak jerky rump elit laborum mollit. Venison cupidatat laboris duis ut chuck proident mollit. Minim do rump, eu jerky ham turkey chuck in tempor venison pariatur voluptate landjaeger beef.
|
||||
|
||||
Duis aliqua esse, exercitation in ball tip ut capicola sausage dolore frankfurter occaecat. Duis in nulla consequat salami. Est shoulder tempor commodo shankle short ribs. In meatball aliqua boudin tenderloin, meatloaf leberkas hamburger quis pig dolore ea eu. Ham hock ex laboris, filet mignon sunt doner cillum short loin prosciutto voluptate.
|
||||
|
||||
Occaecat pork doner meatloaf nulla biltong ullamco tenderloin culpa brisket. Culpa jowl ea shank t-bone shankle voluptate nostrud incididunt leberkas pork loin. Bacon kevin jerky pork belly t-bone labore duis. Boudin corned beef adipisicing aute, fatback ribeye nulla pancetta anim venison. Short ribs kevin pastrami cow drumstick velit. Turkey exercitation jowl, fatback labore swine do voluptate.
|
||||
10
testing/resources/sample_aws_credentials
Normal file
10
testing/resources/sample_aws_credentials
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# this is an aws credentials configuration file. obviously not real credentials :P
|
||||
[default]
|
||||
aws_access_key_id = AKIASLARTIBARTFAST11
|
||||
aws_secret_access_key = 7xebzorgm5143ouge9gvepxb2z70bsb2rtrh099e
|
||||
[production]
|
||||
aws_access_key_id = AKIAVOGONSVOGONS0042
|
||||
aws_secret_access_key = z2rpgs5uit782eapz5l1z0y2lurtsyyk6hcfozlb
|
||||
[staging]
|
||||
aws_access_key_id = AKIAJIMMINYCRICKET0A
|
||||
aws_secret_access_key = ixswosj8gz3wuik405jl9k3vdajsnxfhnpui38ez
|
||||
5
testing/resources/with_no_secrets.txt
Normal file
5
testing/resources/with_no_secrets.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# file with an access key but no secrets
|
||||
# you'll notice it is a redacted section of sample_aws_credentials
|
||||
|
||||
[production]
|
||||
aws_access_key_id = AKIASLARTIBARTFAST11
|
||||
5
testing/resources/with_secrets.txt
Normal file
5
testing/resources/with_secrets.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#file with a secret key, you'll notice it is a section of sample_aws_credentials
|
||||
|
||||
[production]
|
||||
aws_access_key_id = AKIAVOGONSVOGONS0042
|
||||
aws_secret_access_key = z2rpgs5uit782eapz5l1z0y2lurtsyyk6hcfozlb
|
||||
Loading…
Add table
Add a link
Reference in a new issue