Forum Discussion
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