public sealed class KeyAccessJustificationsPolicy : IMessage<KeyAccessJustificationsPolicy>, IEquatable<KeyAccessJustificationsPolicy>, IDeepCloneable<KeyAccessJustificationsPolicy>, IBufferMessage, IMessageReference 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] or [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig] (the default Key Access Justifications policy).
Implements
IMessageKeyAccessJustificationsPolicy, IEquatableKeyAccessJustificationsPolicy, IDeepCloneableKeyAccessJustificationsPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Constructors
KeyAccessJustificationsPolicy()
public KeyAccessJustificationsPolicy()KeyAccessJustificationsPolicy(KeyAccessJustificationsPolicy)
public KeyAccessJustificationsPolicy(KeyAccessJustificationsPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
KeyAccessJustificationsPolicy |
Properties
AllowedAccessReasons
public RepeatedField<AccessReason> AllowedAccessReasons { get; }The list of allowed reasons for access to a [CryptoKey][google.cloud.kms.v1.CryptoKey]. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under [KeyAccessJustificationsPolicyConfig][google.cloud.kms.v1.KeyAccessJustificationsPolicyConfig], it means allow-all. If this is under [CryptoKey][google.cloud.kms.v1.CryptoKey], it means deny-all.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAccessReason |
|