Class KeyHandle (3.7.0) Stay organized with collections Save and categorize content based on your preferences.
KeyHandle(mapping=None,*,ignore_unknown_fields=False,**kwargs)Resource-oriented representation of a request to Cloud KMS Autokeyand the resulting provisioning of aCryptoKey.
Attributes | |
|---|---|
| Name | Description |
name | strIdentifier. Name of theKeyHandle resource, e.g. projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}. |
kms_key | strOutput only. Name of aCryptoKey that has been provisioned for Customer Managed Encryption Key (CMEK) use in theKeyHandle project and location for the requested resource type. TheCryptoKey project will reflect the value configured in theAutokeyConfig on the resource project's ancestor folder at the time of theKeyHandle creation. If more than one ancestor folder has a configuredAutokeyConfig, the nearest of these configurations is used. |
resource_type_selector | strRequired. Indicates the resource type that the resultingCryptoKey is meant to protect, e.g. {SERVICE}.googleapis.com/{TYPE}. See documentation for supported resource types. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-13 UTC.