Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OP CLI Basic Support #63

Closed

Conversation

smartinov
Copy link

No description provided.

@gaffneyd4
Copy link

gaffneyd4 commented Jan 14, 2023

Conceptually, I would much rather use the already-authenticated op cli on my local workstation to interact with the 1password api over having to set up and configure the connect server. The main use case I had in mind that directed me to look for a 1password terraform provider in the first place is just being able to source (read only) sensitive variables from my 1password vaults instead of having to set them as environment variables on my system. In the meantime I'm going to look into what is available for running op cli commands in a script to populate variables in tf. I think something like this would work.

I'm interested to see where this PR goes!

@Tensho
Copy link

Tensho commented Dec 12, 2023

It was a surprise that I couldn't use my user auth material and had to issue a personal service account (SA) to run Terraform from a local machine. I understand the case when you need SA in CI or any other automated system, but human run should be run with a result of the local authentication (op signin). Wonder what is the root of this design decision?

While this PR is incomplete it looks like it does the right things.

@volodymyrZotov
Copy link
Collaborator

This was implemented in #79. @smartinov Thank you very much for that idea 👍

Authentification as a user is added in #119.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants