SDK reference · Node SDK
prov.account.rotateKey
prov.account.rotateKey in Node SDK. Rotate a key (the calling key by default, or a named keyId).
Signature
prov.account.rotateKey(params?: { keyId?: string }): Promise<RotatedKey>Parameters
params{ keyId?: string }
Returns
Promise<RotatedKey>
HTTP operation
Runs locally, with no request to the API.