Module: Google::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionState

Defined in:
lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb

Overview

The state of a CryptoKeyVersion, indicating if it can be used.

Constant Summary collapse

CRYPTO_KEY_VERSION_STATE_UNSPECIFIED =

Not specified.

0
PENDING_GENERATION =

This version is still being generated. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready.

5
ENABLED =

This version may be used for cryptographic operations.

1
DISABLED =

This version may not be used, but the key material is still available, and the version can be placed back into the ENABLED state.

2
DESTROYED =

This version is destroyed, and the key material is no longer stored. A version may not leave this state once entered.

3
DESTROY_SCHEDULED =

This version is scheduled for destruction, and will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into the DISABLED state.

4