git - How to hide the access keys of aws amazon productively in VagrantFile file -
i have vagrant + puppet project in public git had problems sending access_key_id public keys , secret_access_key along vagrantfile file. crackers used aws in name.
since remove keys before updating online git, , every time need add keys in file again if want manipulate machines in aws.
is there way vagrant recognizing these variables using environment variable? in way can declare outside file , every time make "vagrant up" machine automatically load values without need add in hand?
i use ubuntu "12:04" in machines. thanks.
yep, think can use environment variables this:
- access_key_id ->
aws_access_key
- secret_access_key ->
aws_secret_key
you can see in source code of vagrant-aws
.
Comments
Post a Comment