pub struct KeyHandle {
pub kms_key: Option<String>,
pub name: Option<String>,
pub resource_type_selector: Option<String>,
}Expand description
Resource-oriented representation of a request to Cloud KMS Autokey and the resulting provisioning of a CryptoKey.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations key handles create projects (request)
- locations key handles get projects (response)
Fields§
§kms_key: Option<String>Output only. Name of a CryptoKey that has been provisioned for Customer Managed Encryption Key (CMEK) use in the KeyHandle project and location for the requested resource type. The CryptoKey project will reflect the value configured in the AutokeyConfig on the resource project’s ancestor folder at the time of the KeyHandle creation. If more than one ancestor folder has a configured AutokeyConfig, the nearest of these configurations is used.
name: Option<String>Identifier. Name of the KeyHandle resource, e.g. projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}.
resource_type_selector: Option<String>Required. Indicates the resource type that the resulting CryptoKey is meant to protect, e.g. {SERVICE}.googleapis.com/{TYPE}. See documentation for supported resource types.