Forum Discussion

mahdibm's avatar
mahdibm
New Contributor
7 months ago

CLI requires internet

I'm doing a bit of networking and it's really a pain that the `op` CLI requires a proper internet connection to work, as I don't always have a connection.

Any ways around that?

Example for `op read`:

```
[ERROR] 0000/00/00 00:00:00 could not read secret 'op://my-vault/thing/password': error initializing client: RequestDelegatedSession: cannot setup session. Please check the logs of the 1Password app.
```

2 Replies

  • I just ran into this `feature`. I too need to be able to use `op` in an offline mode regularly.

  • mahdibm's avatar
    mahdibm
    New Contributor

    Optimally it would just work like how the app does.
    I can see the password in the app with no connection. I should be able to read it through the CLI as well.