Possibility to configure the CLI Authorization Model?
I have a question regarding the op
CLI’s authorization model. Specifically, I’d like to know if it’s possible to configure the op CLI to authorize at the level of the full user session (e.g., for the duration of a user’s login session on the OS) rather than requiring authorization per terminal window or tab.
The use case for this is in the context of using op
with direnv. We load our secrets via direnv
for usage in Terraform, and using the op
makes it possible to load them directly from our 1Password vaults, and since direnv
automatically loads environment variables for the shell based on the directory, it already operates under a certain implicit authorization model tied to our code review process, as those .envrc
files are in source control. Requiring separate authorization per terminal tab introduces some friction for this workflow.
Is there a way to configure op
to support a session-level authorization model, or perhaps some workaround that could streamline this experience?
Thanks in advance for your help!
1Password Version: 8.10.56
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided