# Cloud Data Fusion V1 API - Class Google::Cloud::DataFusion::V1::CryptoKeyConfig (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud Data Fusion V1 API class Google::Cloud::DataFusion::V1::CryptoKeyConfig.

The crypto key configuration. This field is used by the Customer-managed
encryption keys (CMEK) feature.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #key_reference

    def key_reference() -> ::String

**Returns**

- (::String) --- The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.

### #key_reference=

    def key_reference=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
**Returns**

- (::String) --- The name of the key which is used to encrypt/decrypt customer data. For key in Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/*/cryptoKeys/*`.