Skip to main content
August 27, 2024
Question

Problem with 1Password CLI and Service Account

  • August 27, 2024
  • 4 replies
  • 294 views

I am trying to use a service account to read secrets from a vault. And it did work for a few tries but now I get the following error message:


[ERROR] 2024/08/26 08:10:39 failed to re-initialize service account session - number of retries (1) exceeds max (1)

And yes that error message is 1 day old.

I have tried to rotate the token and to create a new service account but nothing has changed. I still get the same error.


$ op --version
2.30.0


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

4 replies

May 30, 2025

Hi, How did you solve the problem?

June 21, 2025

we hit the same issue using `op inject` in CI/CD pipelines.

for now, we're simply retrying the command a few times with a brief sleep interval. hopefully that covers it.

June 27, 2025

Hi all (@veitsanner , @Reghyna  & @jmader8-xona ),

I was just digging into this and am having trouble reproducing the error. 

Could you provide a bit more context (environment, script, number concurrent 1P actions...)?

Thanks! Phil

June 30, 2025

in my case, we're using Linux. estimate at most 10 concurrent 1Password actions using the same "service account" token across CI jobs. more likely that 10-15 operations would execute in rapid succession.

[jenkins@jenkins-builder-1 ~]$ op --version
2.30.3