# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::CryptoKeyConfig (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::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) --- Required. 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) --- Required. 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) --- Required. 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/*`.