# KMS Inventory API API

> KMS Inventory API API on Apizie: 3 endpoints (Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud…, Returns cryptographic keys managed by Cloud KMS in a given Cloud project. Note that this data is sourced…, Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By default,…) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/analytics:googleapis-kmsinventory/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-kmsinventory`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/kms/
- Page: https://www.apizie.tech/api/analytics/googleapis-kmsinventory
- OpenAPI: https://www.apizie.tech/api/analytics/googleapis-kmsinventory/openapi.json



## Endpoints

### Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud…
`GET https://www.apizie.tech/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-protected-resources-search` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| cryptoKey | string | no | Required. The resource name of the CryptoKey. |
| pageSize | integer | no | The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be… |
| pageToken | string | no | A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page.… |
| resourceTypes | string | no | Optional. A list of resource types that this request searches for. If empty, it will search all the [trackable resource… |
| scope | string | yes | Required. A scope can be an organization or a project. Resources protected by the crypto key in provided scope will be returned. The… |

### Returns cryptographic keys managed by Cloud KMS in a given Cloud project. Note that this data is sourced…
`GET https://www.apizie.tech/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-crypto-keys-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be… |
| pageToken | string | no | Optional. Pass this into a subsequent request in order to receive the next page of results. |
| parent | string | yes | Required. The Google Cloud project for which to retrieve key metadata, in the format `projects/*` |

### Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By default,…
`GET https://www.apizie.tech/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-locations-key-rings-crypto-keys-get-pr` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| fallbackScope | string | no | Optional. The scope to use if the kms organization service account is not configured. |
| name | string | yes | Required. The resource name of the CryptoKey. |

## Example
```
curl "https://www.apizie.tech/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-protected-resources-search" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the KMS Inventory API API?
Create a free Apizie key, then send GET https://www.apizie.tech/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-protected-resources-search with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the KMS Inventory API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. KMS Inventory API itself also needs your own key from googleapis.com.

### Can AI agents use the KMS Inventory API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-kmsinventory.

### What is the status of the KMS Inventory API API?
Needs your own provider key (bring your own key)
