Skip to content

Deprecation of regenerate_key commands

Change

The regenerate_key() function in the flywheel-sdk is deprecated with the 20.0.0 Flywheel Release, and will be removed with the 21.0.0 Flywheel Release.

Description Deprecated Function Replacement
Device Key Generation regenerate_key() generate_key()

The available flywheel-sdk function for generating User API Keys is generate_user_key(). There is no regenerate named version to deprecate.

Reason For Change

Enhanced API Keys can only be generated and deleted. Legacy API Keys could be regenerated, however their support ended with Flywheel release 19.0.0.

Users should migrate all use of the flywheel-sdk regenerate_key functions to their generate_key equivalents available in version 20.0.0, prior to using the future 21.0.0 version of the flywheel-sdk.