Secret Manager V1beta1 API - Module Google::Cloud::SecretManager::V1beta1::SecretVersion::State (v0.12.0)

Reference documentation and code samples for the Secret Manager V1beta1 API module Google::Cloud::SecretManager::V1beta1::SecretVersion::State.

The state of a SecretVersion, indicating if it can be accessed.

Constants

STATE_UNSPECIFIED

value: 0
Not specified. This value is unused and invalid.

ENABLED

value: 1
The SecretVersion may be accessed.

DISABLED

value: 2
The SecretVersion may not be accessed, but the secret data is still available and can be placed back into the ENABLED state.

DESTROYED

value: 3
The SecretVersion is destroyed and the secret data is no longer stored. A version may not leave this state once entered.