public sealed class KeyAccessJustificationsPolicy : IMessage<KeyAccessJustificationsPolicy>, IEquatable<KeyAccessJustificationsPolicy>, IDeepCloneable<KeyAccessJustificationsPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class KeyAccessJustificationsPolicy.
A
[KeyAccessJustificationsPolicy][google.cloud.kms.v1.KeyAccessJustificationsPolicy]
specifies zero or more allowed
[AccessReason][google.cloud.kms.v1.AccessReason] values for encrypt, decrypt,
and sign operations on a [CryptoKey][google.cloud.kms.v1.CryptoKey].
public RepeatedField<AccessReason> AllowedAccessReasons { get; }
The list of allowed reasons for access to a
[CryptoKey][google.cloud.kms.v1.CryptoKey]. Zero allowed access reasons
means all encrypt, decrypt, and sign operations for the
[CryptoKey][google.cloud.kms.v1.CryptoKey] associated with this policy will
fail.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This page provides documentation for the `KeyAccessJustificationsPolicy` class within the Google Cloud Key Management Service v1 API, specifically for .NET version 3.14.0."],["The `KeyAccessJustificationsPolicy` class allows the specification of allowed `AccessReason` values for cryptographic operations like encryption, decryption, and signing on a `CryptoKey`."],["The page includes a list of available versions of the API, ranging from the latest 3.16.0 down to 2.2.0, for reference or use of older versions if needed."],["The `AllowedAccessReasons` property, a `RepeatedField` of `AccessReason`, defines the permissible reasons for accessing a `CryptoKey`, and no reasons results in the failure of all associated cryptographic operations."],["The class implements several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."]]],[]]