public sealed class ExternalProtectionLevelOptions : IMessage<ExternalProtectionLevelOptions>, IEquatable<ExternalProtectionLevelOptions>, IDeepCloneable<ExternalProtectionLevelOptions>, IBufferMessage, IMessage
ExternalProtectionLevelOptions stores a group of additional fields for
configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that
are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL]
protection level and
[EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection
levels.
The path to the external key material on the EKM when using
[EkmConnection][google.cloud.kms.v1.EkmConnection] e.g., "v0/my/key". Set
this field instead of external_key_uri when using an
[EkmConnection][google.cloud.kms.v1.EkmConnection].
Property Value
Type
Description
System.String
ExternalKeyUri
public string ExternalKeyUri { get; set; }
The URI for an external resource that this
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExternalProtectionLevelOptions\u003c/code\u003e class is designed for configuring \u003ccode\u003eCryptoKeyVersion\u003c/code\u003e instances that utilize \u003ccode\u003eEXTERNAL\u003c/code\u003e or \u003ccode\u003eEXTERNAL_VPC\u003c/code\u003e protection levels.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties for specifying the \u003ccode\u003eEkmConnectionKeyPath\u003c/code\u003e, which is used when linking to an external key through an \u003ccode\u003eEkmConnection\u003c/code\u003e, as an alternative to \u003ccode\u003eExternalKeyUri\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists multiple versions of the \u003ccode\u003eGoogle.Cloud.Kms.V1\u003c/code\u003e package, ranging from version 2.2.0 to the latest version 3.16.0, alongside corresponding documentation links.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eExternalProtectionLevelOptions\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]