Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudKmsV1KeyAccessJustificationsPolicy

import type { GoogleCloudKmsV1KeyAccessJustificationsPolicy } from "https://googleapis.deno.dev/v1/kmsinventory:v1.ts";

A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt, decrypt, and sign operations on a CryptoKey.

interface GoogleCloudKmsV1KeyAccessJustificationsPolicy {
allowedAccessReasons?:
| "REASON_UNSPECIFIED"
| "CUSTOMER_INITIATED_SUPPORT"
| "GOOGLE_INITIATED_SERVICE"
| "THIRD_PARTY_DATA_REQUEST"
| "GOOGLE_INITIATED_REVIEW"
| "CUSTOMER_INITIATED_ACCESS"
| "GOOGLE_INITIATED_SYSTEM_OPERATION"
| "REASON_NOT_EXPECTED"
| "MODIFIED_CUSTOMER_INITIATED_ACCESS"
| "MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION"
| "GOOGLE_RESPONSE_TO_PRODUCTION_ALERT"
| "CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING"[];
}

§Properties

§
allowedAccessReasons?: "REASON_UNSPECIFIED" | "CUSTOMER_INITIATED_SUPPORT" | "GOOGLE_INITIATED_SERVICE" | "THIRD_PARTY_DATA_REQUEST" | "GOOGLE_INITIATED_REVIEW" | "CUSTOMER_INITIATED_ACCESS" | "GOOGLE_INITIATED_SYSTEM_OPERATION" | "REASON_NOT_EXPECTED" | "MODIFIED_CUSTOMER_INITIATED_ACCESS" | "MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION" | "GOOGLE_RESPONSE_TO_PRODUCTION_ALERT" | "CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING"[]
[src]

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.