# Class KeyAccessJustificationsPolicy (3.14.0)

3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.1 3.4.0 3.3.1 3.2.2 3.1.1 3.0.0 2.24.2 2.23.0 2.22.0 2.21.4 2.20.0 2.19.2 2.18.0 2.17.0 2.16.1 2.15.0 2.14.1 2.13.0 2.12.3 2.11.2 2.10.1 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.3 2.3.0 2.2.0 2.1.0 2.0.1 1.4.2 1.3.0 1.2.1 1.1.0

    KeyAccessJustificationsPolicy(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

A
KeyAccessJustificationsPolicy
specifies zero or more allowed
AccessReason values for encrypt,
decrypt, and sign operations on a
CryptoKey or
KeyAccessJustificationsPolicyConfig
(the default Key Access Justifications policy).

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `allowed_access_reasons` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/cloudkms/latest/google.cloud.kms_v1.types.AccessReason]` The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons has a different meaning depending on where this message appears. If this is under KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means deny-all. |