News for hackers. Stuff that matters.
Re:Toyota Accidently Exposed a Secret Key Publicly on GitHub... by insane_dreamer on Friday October 14, 2022 @01:10PM (#33206248)
100% agree. We always keep all tokens (not just AWS secret keys) in a separate file that is never checked into the repo and are passed into the CloudFormation template at deployment. (The error in this case was a new repo hastily pushed and .gitignore wasn't properly updated to exclude the file with the keys.) But we've since switched to using AWS Secrets which is a much better solution.
Re:Toyota Accidently Exposed a Secret Key Publicly on GitHub... by scarface74 on Friday October 14, 2022 @02:32PM (#33207179)
Yeah that’s not good either. Your keys never need to be in a local file. Just put them in Parameter Store/Secrets Manager and you can reference those values in CF.
Re:Toyota Accidently Exposed a Secret Key Publicly on GitHub... by insane_dreamer on Friday October 14, 2022 @07:00PM (#33209805)
Yeah, that's what we do now