Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
2 years agoIs there any way to automate secrets reading in Gitlab pipeline using service account (add and get)
Hello. We are trying to automate secrets reading in Gitlab pipeline using 1password service account. The issue is the "op add account" needs an email flag, hence I am not able to add an account (afte...
michael_c_1P
1Password Team
2 years agoYou shouldn't have to run op add account
when using a service account, as the CLI will automatically detect the environment variable OP_SERVICE_ACCOUNT_TOKEN
and use that to authenticate. The issue may be that you're not running the beta version of the CLI, which is currently required for service accounts while the feature is in public beta. Could you verify the CLI version that you are using in Gitlab runner? Alternatively, support for service accounts will be included the next production release of the CLI, if you'd prefer to wait for the feature to be out of beta.