v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1331228.6 KB
projects

Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By default, summary of resources within the same Cloud organization as the key will be returned, which requires the KMS organization service account to be configured(refer https://docs.cloud.google.com/kms/docs/view-key-usage#required-roles). If the KMS organization service account is not configured or key's project is not part of an organization, set fallback_scope to FALLBACK_SCOPE_PROJECT to retrieve a summary of protected resources within the key's project.

get/v1/{+name}/protectedResourcesSummary

Path parameters

namestring required

Required. The resource name of the CryptoKey.

Query parameters

fallbackScope'FALLBACK_SCOPE_UNSPECIFIED' | 'FALLBACK_SCOPE_PROJECT'

Optional. The scope to use if the kms organization service account is not configured.

Response

Successful response