- [JSON representation](https://docs.cloud.google.com/looker/docs/reference/rest/v1/EncryptionConfig#SCHEMA_REPRESENTATION)
- [KmsKeyState](https://docs.cloud.google.com/looker/docs/reference/rest/v1/EncryptionConfig#KmsKeyState)

Encryption configuration (i.e. CMEK).

| JSON representation |
|---|
| ``` { "kmsKeyName": string, "kmsKeyState": enum (`https://docs.cloud.google.com/looker/docs/reference/rest/v1/EncryptionConfig#KmsKeyState`), "kmsKeyNameVersion": string } ``` |

| Fields ||
|---|---|
| `kmsKeyName` | `string` Optional. Immutable. Name of the CMEK key in KMS (input parameter). |
| `kmsKeyState` | ``enum (`https://docs.cloud.google.com/looker/docs/reference/rest/v1/EncryptionConfig#KmsKeyState`)`` Output only. Status of the CMEK key. |
| `kmsKeyNameVersion` | `string` Output only. Full name and version of the CMEK key currently in use to encrypt Looker data. Format: `projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`. Empty if CMEK is not configured in this instance. |

## KmsKeyState

Enum for CMEK state.

| Enums ||
|---|---|
| `KMS_KEY_STATE_UNSPECIFIED` | CMEK status not specified. |
| `VALID` | CMEK key is currently valid. |
| `REVOKED` | CMEK key is currently revoked (instance should in restricted mode). |