KMS Inventory API

Service: kmsinventory.googleapis.com

Discovery document

ADiscovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

Aservice endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://kmsinventory.googleapis.com

REST Resource:v1.organizations.protectedResources

Methods
searchGET /v1/{scope=organizations/*}/protectedResources:search
Returns metadata about the resources protected by the given Cloud KMSCryptoKey in the given Cloud organization.

REST Resource:v1.projects.cryptoKeys

Methods
listGET /v1/{parent=projects/*}/cryptoKeys
Returns cryptographic keys managed by Cloud KMS in a given Cloud project.

REST Resource:v1.projects.locations.keyRings.cryptoKeys

Methods
getProtectedResourcesSummaryGET /v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}/protectedResourcesSummary
Returns aggregate information about the resources protected by the given Cloud KMSCryptoKey.

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-05-30 UTC.