Forum Discussion
Hey again @CHasenpflug1 ,
Apologies, I missed a critical part of your question.
There is no such way to do so at the moment, but we are working on service account access tokens for use in non-automated environments that may fit your use case.
Alternatively, you could look into setting up a https://developer.1password.com/docs/connect server and accessing it via op using tokens.
As a last resort, there is a way to authenticate to op that can be "scripted" in a non-interactive way, but I do not suggest it as it is a security risk.
The op account add and op signin commands can accept the password piped via stdin. For exampe: eval $(echo "$PASSWORD" | op account add --email "$EMAIL" --address "$SIGNIN_ADDRESS" --secret-key "$SECRET_KEY"
While this method can work, it can expose the password to any processes that are monitoring other processes being initialized.