Cloud KMS V1 Client - Class ProtectionLevel (1.16.4)

Reference documentation and code samples for the Cloud KMS V1 Client class ProtectionLevel.

ProtectionLevel specifies how cryptographic operations are performed. For more information, see Protection levels.

Protobuf type google.cloud.kms.v1.ProtectionLevel

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

PROTECTION_LEVEL_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum PROTECTION_LEVEL_UNSPECIFIED = 0;

SOFTWARE

Value: 1

Crypto operations are performed in software.

Generated from protobuf enum SOFTWARE = 1;

HSM

Value: 2

Crypto operations are performed in a Hardware Security Module.

Generated from protobuf enum HSM = 2;

EXTERNAL

Value: 3

Crypto operations are performed by an external key manager.

Generated from protobuf enum EXTERNAL = 3;

EXTERNAL_VPC

Value: 4

Crypto operations are performed in an EKM-over-VPC backend.

Generated from protobuf enum EXTERNAL_VPC = 4;