secret_state Property
The state of the secret version.
Syntax
def get_secret_state(secret_index: int) -> str: ...
Default Value
""
Remarks
The state of the secret version.
This property reflects the state of the secret version, possible values are:
- ENABLED: The secret version is enabled and accessible.
- DISABLED: The secret version is disabled, and cannot be accessed.
- DESTROYED: The data held by the secret version has been permanently destroyed.
The secret_index parameter specifies the index of the item in the array. The size of the array is controlled by the secret_count property.
This property is read-only.