3.27.0 (latest) 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 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.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

    public enum EkmConnection.Types.KeyManagementMode

Reference documentation and code samples for the Google Cloud Key Management Service v1 API enum EkmConnection.Types.KeyManagementMode.

\[KeyManagementMode\]\[google.cloud.kms.v1.EkmConnection.KeyManagementMode\]
describes who can perform control plane cryptographic operations using this
\[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\].

## Namespace

[Google.Cloud.Kms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1)

## Assembly

Google.Cloud.Kms.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `CloudKms` | All \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\] created with this \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] use EKM-side key management operations initiated from Cloud KMS. This means that: - When a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] associated with this \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] is created, the EKM automatically generates new key material and a new key path. The caller cannot supply the key path of pre-existing external key material. - Destruction of external key material associated with this \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] can be requested by calling \[DestroyCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion\]. - Automatic rotation of key material is supported. |
| `Manual` | EKM-side key management operations on \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\] created with this \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\] must be initiated from the EKM directly and cannot be performed from Cloud KMS. This means that: - When creating a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] associated with this \[EkmConnection\]\[google.cloud.kms.v1.EkmConnection\], the caller must supply the key path of pre-existing external key material that will be linked to the \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]. - Destruction of external key material cannot be requested via the Cloud KMS API and must be performed directly in the EKM. - Automatic rotation of key material is not supported. |
| `Unspecified` | Not specified. |