Search Protected Resources

kms_inventory.search_protected_resources
ActionGoogle Cloudconnection required

Calls KMS Inventory GET /v1/projects/{projectsId}/protectedResources:search.

Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization/project.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google KMS Inventory
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
page_size
The maximum number of resources to return. The service may return fewer than this value. If unspecified, at mo
numberNo50≥ 1—
page_token
A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retri
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "page_size": 50
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
nextPageToken
string—
protectedResources
array—
{
  "nextPageToken": "",
  "ok": false,
  "protectedResources": []
}

Related Google KMS Inventory nodes

See Search Protected Resources run in a workflow.

In a technical demo we add the Google KMS Inventory connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.