Forum Discussion
mickael
2 years agoDedicated Contributor
How can I prevent to authenticate constantly to retrieve secrets ?
Hi,
I decided to switch from my tool https://github.com/mickaelperrin/onepassword-local-search to the native implementation of SSH key management and secrets retrieval for my daily use.
This wo...
1P_Dave
Moderator
2 years agoHello mickael! 👋
Thank you for the question! Being asked to authenticate in each new terminal session is part of the CLI integration's authorization model:
Each time you use a 1Password CLI command in a new terminal window or tab, you'll need to authorize your account again:
- On macOS and Linux, authorization is confined to a terminal session but extends to sub-shell processes in that window.
- On Windows, commands executed in a sub-shell require separate authorization.
You can read more here: 1Password app integration security Developer
Can you tell me a little more about the use case here? Are you regularly opening new terminal windows when using the CLI? Do you already have biometric unlock enabled to make it easier to unlock 1Password rather than typing in your account password each time?
-Dave