What would be the best way to pass sensitive data to EC2 instance (on boot or otherwise) that only root can access?
- I cannot use UserData, because anyone can read it.
- I cannot use private S3 buckets for the same reason (metadata and hence credentials can be accessed by anyone on the box).
- I'd strongly prefer not to bake my own AMI, as it's quite a hassle.