Hi all, I'm researching ways to use the 1Password CLI to add users to groups/vaults based on events in another system.
I think I can easily get the CLI running on a Linux VM, and write a simple REST api to run CLI commands. However, I'm struggling to find the recommended way to handle authentication with the CLI. Session tokens expire due to inactivity, and I can't have someone log into the server every time we need to get a new token.
I could have the CLI run something often enough to prevent a timeout, but is there a better way to automate the CLI as part of an integration? Do I just need to store my integration users credentials in an env variable on the server?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided