Canonical: https://weaveos.com/reference/google-secret-manager/list-secret-metadata

1. [Software capabilities](https://weaveos.com/reference)
2. /[Google Secret Manager](https://weaveos.com/reference/google-secret-manager)
3. /List Google Secret Manager metadata without reading payloads

[GSGoogle Secret Manager](https://weaveos.com/reference/google-secret-manager)

# List Google Secret Manager metadata without reading payloads

Inventory secret resource names, labels, create times, and replication metadata while deliberately avoiding secret version access.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /v1/projects/{project}/secrets](https://weaveos.com/reference/google-secret-manager/list-secret-metadata#method-1)
2. [2CLI: gcloud secrets list](https://weaveos.com/reference/google-secret-manager/list-secret-metadata#method-2)

API

### GET /v1/projects/{project}/secrets

List secret resources and metadata for a project. This endpoint does not return secret payload bytes.

[Read source: GET /v1/projects/{project}/secrets reference](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets/list)

- Requirements

  Secret Manager API enabled, OAuth token with secretmanager.secrets.list or an equivalent read role, and the project ID.

- Limitations

  List results are paginated with nextPageToken. Secret payloads require a separate versions access call and are excluded from this workflow.

Example shell

Copy

```
curl --fail -H "Authorization: Bearer $GOOGLE_ACCESS_TOKEN" "https://secretmanager.googleapis.com/v1/projects/$PROJECT/secrets?pageSize=100"
```

CLI

### gcloud secrets list

List secret names and metadata through gcloud without invoking versions access.

[Read source: gcloud secrets list reference](https://cloud.google.com/sdk/gcloud/reference/secrets/list)

- Requirements

  Google Cloud CLI, an authenticated account, Secret Manager Viewer or equivalent list permission, and a project.

- Limitations

  The command lists metadata only. Avoid commands that describe or access a version payload when the workflow is inventory-only.

Example shell

Copy

```
gcloud secrets list --project="$PROJECT" --limit=100 --format="table(name,createTime,labels)"
```

## More from Google Secret Manager

[View all 1 Google Secret Manager tasks](https://weaveos.com/reference/google-secret-manager)

## The same task in other apps

- [GAGoogle Artifact Registry](https://weaveos.com/reference/google-artifact-registry)

  ### [List Docker image metadata in Google Artifact Registry](https://weaveos.com/reference/google-artifact-registry/list-docker-images)

  List image digests, tags, and update metadata in one repository without downloading image content.

  API, CLI

- [![](https://weaveos.com/reference/logos/aws-systems-manager.svg)AWS Systems Manager](https://weaveos.com/reference/aws-systems-manager)

  ### [List AWS Systems Manager managed-node inventory metadata](https://weaveos.com/reference/aws-systems-manager/list-managed-node-information)

  Read managed-node IDs, platform, agent version, ping status, and last ping time without sending commands or retrieving node data.

  API, CLI

- [![](https://weaveos.com/reference/logos/google-cloud-storage.svg)Google Cloud Storage](https://weaveos.com/reference/google-cloud-storage)

  ### [List object generations in Google Cloud Storage](https://weaveos.com/reference/google-cloud-storage/list-object-generations)

  Use the JSON API or gcloud storage ls to inspect object versions and generations in a bucket. Keep the version flag explicit when reconciling historical objects.

  API, CLI

- [![](https://weaveos.com/reference/logos/google-forms.svg)Google Forms](https://weaveos.com/reference/google-forms)

  ### [List Google Forms responses](https://weaveos.com/reference/google-forms/list-form-responses)

  Use the Forms API when a pipeline needs response data or a timestamp filter. Download a CSV from the Forms interface for a one-off handoff.

  API, Interface
