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
seanboult
3 years agoNew Contributor
CLI Offline Mode
Hi team & community 👋
I know this was posted years back but I am wondering if the team has any appetite to allow for loading secrets from the CLI without internet access?
Considering we can us...
andi_t_1P
1Password Team
2 years agoHey all, thanks for inquiring about the offline mode feature. Here is an answer from our developer Slack workspace that provides a bit of insight into the developments of offline mode.
"There are currently no updates on the internal issue tracking this, and I can't make any promises as to when this will get on our short roadmap. The CLI was built to function without the Desktop App being installed (the cli is often times used in a CI pipeline for example, where the desktop app is not present). For this reason, the CLI communicates directly with the server to fetch the encrypted items and decrypts them locally, just how the Desktop App does. It also leverages a built-in cache for decreasing the number of request it makes but it does not have the caching capabilities of the 1Password Desktop App.
For the offline feature to be possible communication between the CLI and the Desktop App needs to be implemented to the degree that the CLI can attempt to retrieve the items from the Desktop App's cache directly. This will speed up the retrieval process and will allow for the CLI to work offline, but will require users to have 1Password8 installed. Of course, a smart fallback mechanism should be introduced to serve both the use cases described above. This is a large improvement and therefore an ETA is very hard to determine."