It looks like it’s possible to update a system-user assertion, by just re-posting it to the snapd API with a bumped revision number. However, I can’t see a good way of applying that assertion without removing and re-creating the system-user.
v2/users API there is only
remove actions. Trying
create again fails with an error because the user already exists.
It seems like the only option is to
create - am I missing something ?
This particular use case is if we need to update the ssh keys.