On several occasions recently, hackers have gone after Amazon Web Services’ cloud storage products known as S3 buckets and used the company’s own encryption tools to lock customers out of their data.