Forum Discussion
CLI 2.0 file permissions recommendations
Hi!
First of all, thank you for your sharing enthusiasm! We're glad you like the feature.
I can understand that the authorization prompt may feel like an unnecessary extra step. The reason we're doing this, is because if we don't, any process running on your system would be able to access your 1Password accounts. By asking for your permission first, we confirm that it is actually you who is using the CLI.
What could help you, is that you can always execute op signin
to trigger the authorization prompt. The authorization will be valid for 10 minutes (and that time will be extended if you keep using the CLI). So if you put that at the start of your script, you should only be prompted once, when you start the script. Would that help you in any way?