Vault secrects in Vagrant?

I am using the [aws provisioner plugin]( to start an ec2 instance. First I have to use the aws cli to generate credentials that are pasted into the Vagrant file. This gets tiring and in order to automate it I started reading up on [Vault]( After a few hours I know more about Vault but not much about how to use it with Vagrant. Are they not intended to be used together?


1 thought on “Vault secrects in Vagrant?”

  1. My best guess.

    Try putting the secrets into a vault Kv store. Then use your vagrant provisioner script to use the vault API to pull those credentials.

    Also you can provision EC2 obstacles with terraform and cloudformation… Might be easier for ya!


Leave a Comment