-
Notifications
You must be signed in to change notification settings - Fork 39
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
support for multiple 1password accounts #38
Comments
in the meanwhile, do you know how to correctly switch accounts or de-activated the current one on the machine? |
@overratedpro @amazingandyyy can you try to use for example two providers with different credentials. I believe it was supported by terraform native and I wasn't broken this logic with op client. It returns temporary token after signin and you can use a different token for different accounts. Like this:
You can read detailed about that here https://www.terraform.io/docs/configuration/providers.html#alias-multiple-provider-instances |
Terribly sorry but this is not exactly working for me.
The problem occurs even with just a single provider defined. |
Testing with multiple accounts I narrowed the problem to an organisation account. This will not reproduce with just a plain one, because the latter does not need the
|
This is just a feature request, but it would be great to be able to use this provider in a more complex CI/CD scenario.
Problem Description
In order to use a different 1password account than the one currently activated on the machine, the support for the
--account
and/or--shorthand
switch(es) for theop signin
call is necessary.There may be a need to prepare a unique shorthand value for that purpose.
Use Scenario
Two (or more) infrastructure environments.
Each environment has a Terraform workspace and a 1password account.
Also, the machine may already have a 1pasword GUI application with active authentication for yet another account.
Each Terraform workspace should to be able to use its respective 1password account under any circumstances.
Alternatives
The text was updated successfully, but these errors were encountered: