Skip to main content

serviceAccount.rotateKey()

Creates a new credential; gracePeriodMs defaults to 0, max 365 days. Omit expireAt to inherit it, pass null for no expiration, or a date at least four hours ahead.

Signature

Example

See all serviceAccount methods or runtime basics.
Last modified on November 8, 2026