# Class KmsConfig (0.10.1)

0.10.1 (latest) 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.24 0.2.0 0.1.0

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

KmsConfig is the customer-managed encryption key(CMEK)
configuration.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. Name of the KmsConfig. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` |
| `crypto_key_name` | `str` Required. Customer-managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}` |
| `state` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.KmsConfig.State` Output only. State of the KmsConfig. |
| `state_details` | `str` Output only. State details of the KmsConfig. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Create time of the KmsConfig. |
| `description` | `str` Description of the KmsConfig. |
| `labels` | `MutableMapping[str, str]` Labels as key value pairs |
| `instructions` | `str` Output only. Instructions to provide the access to the customer provided encryption key. |
| `service_account` | `str` Output only. The Service account which will have access to the customer provided encryption key. |

## Classes

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

The KmsConfig States