Revoked service accounts
Hello, I love service accounts! So much that I think I actually broke it, or at least encountered a bug.
So I decided to use service accounts for my terraform runs, which has been awesome. Until, a week or so ago, when I started getting weird errors:
[ERROR] 2024/12/11 23:40:21 (400) Bad Request: The structure of request was invalid.
I am running this through Taskfile, and it had been working for quite a while, so I was pretty certain it wasn't me running anything differently. This is my (partially redacted) command line:
op service-account create "foo" --expires-in=5m --vault "foo:read_items,write_items" --raw
Which seemed simple enough. This was strange, and I was making no headway at all at first, but I was thinking maybe something needed a timeout, so I slept on it. The next day, I tried to see if there was any sort of list or status that I could understand, and I found this:
Super helpful, I could clearly see these. I had some non-related old ones from when I started to experiment, so I deleted one, and retried my terraform again. And it worked. So it turns out, the structure of request is not invalid per se, it's just me running up against the limit of the amount of service accounts you should be able to have at any one time.
And, it also turns out, that even when they expire, they currently need to be revoked to not count into that maximum. That is unfortunate, as I now have to login, click 3 times in the UI, copy and paste the name of an old token before I can run my terraform again.
I realize this is not a bug tracker, but there seems to be people around here that are more apt than me at finding a place to actually give this kind of information. Please help me not have to manually invalidate my old expired tokens anymore, either by redirecting this request to the proper channel (I have tried and failed looking for where to lodge an actual support ticket) or fixing the issue. Thankie!
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided