public static enum EkmConnection.KeyManagementMode extends Enum<EkmConnection.KeyManagementMode> implements com.google.protobuf.ProtocolMessageEnum
[KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] describes who can perform control plane cryptographic operations using this [EkmConnection][google.cloud.kms.v1.EkmConnection].Protobuf enum
google.cloud.kms.v1.EkmConnection.KeyManagementMode| Enum Constant and Description |
|---|
CLOUD_KMS
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.
|
KEY_MANAGEMENT_MODE_UNSPECIFIED
Not specified.
|
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.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOUD_KMS_VALUE
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.
|
static int |
KEY_MANAGEMENT_MODE_UNSPECIFIED_VALUE
Not specified.
|
static int |
MANUAL_VALUE
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.
|
| Modifier and Type | Method and Description |
|---|---|
static EkmConnection.KeyManagementMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EkmConnection.KeyManagementMode> |
internalGetValueMap() |
static EkmConnection.KeyManagementMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EkmConnection.KeyManagementMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EkmConnection.KeyManagementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EkmConnection.KeyManagementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EkmConnection.KeyManagementMode KEY_MANAGEMENT_MODE_UNSPECIFIED
Not specified.
KEY_MANAGEMENT_MODE_UNSPECIFIED = 0;public static final EkmConnection.KeyManagementMode 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.
MANUAL = 1;public static final EkmConnection.KeyManagementMode CLOUD_KMS
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][EkmService.DestroyCryptoKeyVersion]. * Automatic rotation of key material is supported.
CLOUD_KMS = 2;public static final EkmConnection.KeyManagementMode UNRECOGNIZED
public static final int KEY_MANAGEMENT_MODE_UNSPECIFIED_VALUE
Not specified.
KEY_MANAGEMENT_MODE_UNSPECIFIED = 0;public static final int MANUAL_VALUE
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.
MANUAL = 1;public static final int CLOUD_KMS_VALUE
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][EkmService.DestroyCryptoKeyVersion]. * Automatic rotation of key material is supported.
CLOUD_KMS = 2;public static EkmConnection.KeyManagementMode[] values()
for (EkmConnection.KeyManagementMode c : EkmConnection.KeyManagementMode.values()) System.out.println(c);
public static EkmConnection.KeyManagementMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static EkmConnection.KeyManagementMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static EkmConnection.KeyManagementMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EkmConnection.KeyManagementMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EkmConnection.KeyManagementMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.