Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
4 years agoUsing CLI for night backups?
Hello,
I am new to the topic of 1Password CLI. I have installed the CLI on a Linux server under Ubuntu. Accessing and retrieving credentials works perfectly so far.
We want to use the CLI to cop...
Former Member
4 years agoHey @ryder_hook ,
Since the CLI grants access to all of your 1Password data and vaults, we don't allow keeping it unlocked for more than 30 minutes if it is unused. We have received similar feedback to yours and are considering allowing longer session periods.
For now, there are two options:
- Automate a script to send any command to the CLI every 20-25 minutes to keep the session alive (e.g. op get item xxx
).
- Automate a script to log into the CLI when needed.
The 2nd option is not something we recommend as it would require you to store your credentials in a script in plaintext on the hard drive of the machine, which is a security risk, but we have seen other users do that and recommend it here in the forum. Please consider this option thoroughly and carefully, and all of its consequences for the worst case scenario.