Is there any way to expire snapcraft credentials?

Base64 credentials, generated with snapcraft v7.x, snapcraft export-login. I need to expiry them due to security reasons.

Of course I can generate new ones… but AFAICS this doesn’t invalidate the existing ones.

You can invalidate existing credentials by changing your Ubuntu SSO password and logging out and in.

(There might be a delay for the credentials to stop working, apparently ~24 hours isn’t unreasonable).

1 Like