Rotating replaces a credential's secret without changing its client ID or scopes. Anything still using the old secret will fail immediately after rotation, so update your pipeline with the new secret right after rotating.
Revoking ends the credential permanently. There's no undo. Create a new service account if you need access again.
From Service Account Credentials, select the account, then Rotate or Revoke. Each credential also shows when it was last used.