SecurityBattleOps
HashiCorpAsked in Cloud engineer and Platform engineer rounds
HashiCorp Packer AMI shared a cloud-init secret with another AWS account
The scenario
A HashiCorp Packer build wrote an AWS access key into cloud-init user data and published the AMI. Launch permission includes a second AWS account. Instances there boot with the key. The key is still active in the build account. Someone wants to remove the other account's launch permission and leave the key as it is.
Model answer
Unlock the answer interviewers want to hear
Model answer, what to add at your level, the follow-up, and common mistakes.
INTERVIEW BANK PASSNot on sale right nowEvery drill and interview experience. Renews monthly.
DEVOPS PARKInterview Bank includedInterview Bank included, plus War Zone, labs, roadmaps and Daily Challenge.See DevOps Park plans
3 questions in this drill are free.Read a free one
How to answer at your level
The follow-up they'll ask
Common mistakes