Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::V1::KeyAccessJustificationsPolicy.
A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allowed_access_reasons
def allowed_access_reasons() -> ::Array<::Google::Cloud::Kms::V1::AccessReason>
Returns
- (::Array<::Google::Cloud::Kms::V1::AccessReason>) — The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
#allowed_access_reasons=
def allowed_access_reasons=(value) -> ::Array<::Google::Cloud::Kms::V1::AccessReason>
Parameter
- value (::Array<::Google::Cloud::Kms::V1::AccessReason>) — The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
Returns
- (::Array<::Google::Cloud::Kms::V1::AccessReason>) — The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.