disableReason property
If the key is disabled, it may have a DisableReason describing why it was disabled.
Output only. Optional. Possible string values are:
- "SERVICE_ACCOUNT_KEY_DISABLE_REASON_UNSPECIFIED" : Unspecified disable reason
- "SERVICE_ACCOUNT_KEY_DISABLE_REASON_USER_INITIATED" : Disabled by the user
- "SERVICE_ACCOUNT_KEY_DISABLE_REASON_EXPOSED" : Google detected this Service Account external key's private key data as exposed, typically in a public repository on GitHub or similar.
- "SERVICE_ACCOUNT_KEY_DISABLE_REASON_COMPROMISE_DETECTED" : This service account external key was detected as compromised and used by an attacker.
Implementation
core.String? disableReason;