/gcp-secret-metadata:listfrom gcp-secret-metadata
Lists global Secret Manager secret names for a given GCP project. Requires explicit project ID and gcloud CLI authentication.
Ships in gcp-secret-metadata. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run only on an explicitly authorized project and only when the operator has approved sharing metadata with the agent. Secret names and project IDs can be sensitive. Do not request or handle secret values.
Install and authenticate the Google Cloud CLI outside the agent. Enable Secret
Manager and grant the calling principal secretmanager.secrets.list on the
project, without granting secret payload access solely for inventory. Run:
node ${CLAUDE_PLUGIN_ROOT}/scripts/list.js PROJECT_ID
The project ID is mandatory; no implicit project is used. The command invokes
gcloud secrets list for global secrets, letting gcloud handle pagination, and
outputs only project ID and resource names. It discards other returned fields,
provider stderr and malformed responses. It does not enumerate regional secrets,
versions, rotation, IAM policies or payloads. For one secret's version and rotation
metadata, use /gcp-secret-metadata:history with separate authorization. Failures return nonzero without
partial results. Output is sensitive inventory: store or share it only according
to the organization's policy. This inventory command does not inject secrets,
produce findings or integrate with gcp-inspector. The separate operator-only
/gcp-secret-metadata:run command documents the runtime injection helper.
For numeric resource names, the command verifies the mapping with gcloud projects describe PROJECT_ID. This requires resourcemanager.projects.get on that project,
which may not be granted to a secrets-only principal. No broader role is required;
if lookup is denied or invalid, the command fails closed without inventory output.
Textual names matching the requested ID do not require this lookup. The same
restriction applies to the history command.
References: gcloud secrets list, Secret Manager list API and IAM permission.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub grcengclub/claude-grc-engineering --plugin gcp-secret-metadata4 skills in this plugin
Other plugins' skills for the same job