Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoHow do I use the AWS Shell Plugin with Terraform?
I set up the 1password shell plugin for aws as shown here: https://blog.1password.com/shell-plugins/
It works great with aws (super cool btw!!!)
But It doesn't work with Terraform. For Terrafo...
Jack_P_1P
1Password Team
3 years agoHi @dejanz and @lshevtsov:
Great question! What may work in this case is using the AWS environment variable functionality of Terraform: Terraform hashicorp/aws
Set the relevant environment variables to 1Password CLI secret references (op://<vault>/<item>/<field>
), then use op run -- terraform ...
to use your credentials from 1Password.
Let me know how you get on with that!
Jack