kmsKeyPrimaryState property

String? kmsKeyPrimaryState
getter/setter pair

The state of the primary version of the KMS key perceived by the system.

This field is not populated in backups.

Output only. Possible string values are:

  • "KMS_KEY_STATE_UNSPECIFIED" : The default value. This value is unused.
  • "ENABLED" : The KMS key is enabled and correctly configured.
  • "PERMISSION_DENIED" : Permission denied on the KMS key.
  • "DISABLED" : The KMS key is disabled.
  • "DESTROYED" : The KMS key is destroyed.
  • "DESTROY_SCHEDULED" : The KMS key is scheduled to be destroyed.
  • "EKM_KEY_UNREACHABLE_DETECTED" : The EKM key is unreachable.
  • "BILLING_DISABLED" : Billing is disabled for the project.
  • "UNKNOWN_FAILURE" : All other unknown failures.

Implementation

core.String? kmsKeyPrimaryState;