# Class SingleTenantHsmInstance (3.14.0)

3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.1 3.4.0 3.3.1 3.2.2 3.1.1 3.0.0 2.24.2 2.23.0 2.22.0 2.21.4 2.20.0 2.19.2 2.18.0 2.17.0 2.16.1 2.15.0 2.14.1 2.13.0 2.12.3 2.11.2 2.10.1 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.3 2.3.0 2.2.0 2.1.0 2.0.1 1.4.2 1.3.0 1.2.1 1.1.0

    SingleTenantHsmInstance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A
SingleTenantHsmInstance
represents a single-tenant HSM instance. It can be used for creating
CryptoKeys with a
ProtectionLevel of
`HSM_SINGLE_TENANT][CryptoKeyVersion.ProtectionLevel.HSM_SINGLE_TENANT]`,
as well as performing cryptographic operations using keys created
within the
SingleTenantHsmInstance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name for this SingleTenantHsmInstance in the format `projects/*/locations/*/singleTenantHsmInstances/*`. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time at which the SingleTenantHsmInstance was created. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/cloudkms/latest/google.cloud.kms_v1.types.SingleTenantHsmInstance.State` Output only. The state of the SingleTenantHsmInstance. |
| `quorum_auth` | `https://docs.cloud.google.com/python/docs/reference/cloudkms/latest/google.cloud.kms_v1.types.SingleTenantHsmInstance.QuorumAuth` Required. The quorum auth configuration for the SingleTenantHsmInstance. |
| `delete_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time at which the SingleTenantHsmInstance was deleted. |
| `unrefreshed_duration_until_disable` | `google.protobuf.duration_pb2.Duration` Output only. The system-defined duration that an instance can remain unrefreshed until it is automatically disabled. This will have a value of 730 days. |
| `disable_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time at which the instance will be automatically disabled if not refreshed. This field is updated upon creation and after each successful refresh operation and enable. A \[RefreshSingleTenantHsmInstance\]\[\] operation must be made via a SingleTenantHsmInstanceProposal before this time otherwise the SingleTenantHsmInstance will become disabled. |
| `key_portability_enabled` | `bool` Optional. Immutable. Indicates whether key portability is enabled for the SingleTenantHsmInstance. This can only be set at creation time. Key portability features are disabled by default and not yet available in GA. |

## Classes

### QuorumAuth

    QuorumAuth(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for M of N quorum auth.

### State

    State(value)

The set of states of a
SingleTenantHsmInstance.