Forum Discussion

andybrown's avatar
andybrown
New Contributor
12 days ago
Solved

Terminal integration touch id prompt frequency

I use 1Password CLI to add an export to my `.zshrc` file that references an access token in my vault:

`export GH_TOKEN=$(op read "op://Private/my-private-vault/access tokens/gh cli access token")`

Every time I open a new terminal window (or an app that has a terminal like VSCode or Android Studio) I'm prompted for my touch id; I open multiple terminal windows a day so I end up being constantly prompted.

Is there a way to change the frequency of the verification? Ideally I'd be prompted daily but I'm not sure if this is the intention of the CLI.

  • I believe the issue is not about frequency - it's that each terminal window is considered its own session. I assume this is by design to stop a rogue program from exfiltrating secrets via the cli, but it's definitely very annoying in many cases.

2 Replies

  • theo's avatar
    theo
    New Contributor

    I believe the issue is not about frequency - it's that each terminal window is considered its own session. I assume this is by design to stop a rogue program from exfiltrating secrets via the cli, but it's definitely very annoying in many cases.