serverCertificateRotationMode property

String? serverCertificateRotationMode
getter/setter pair

Controls the automatic server certificate rotation feature.

This feature is disabled by default. When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or self-service maintenance updates up to six months before it expires. This setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.

Optional. Possible string values are:

  • "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED" : Unspecified: no automatic server certificate rotation.
  • "NO_AUTOMATIC_ROTATION" : No automatic server certificate rotation. The user must [manage server certificate rotation](/sql/docs/mysql/manage-ssl-instance#rotate-server-certificate-cas) on their side.
  • "AUTOMATIC_ROTATION_DURING_MAINTENANCE" : Automatic server certificate rotation during Cloud SQL scheduled maintenance or self-service maintenance updates. Requires server_ca_mode to be GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.

Implementation

core.String? serverCertificateRotationMode;