gcp-secret

Manage GCP Secret Manager secrets using gcloud CLI commands.

10|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/kubony/openclaw-gcp-setup --skill gcp-secret
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-secret
Source: https://github.com/kubony/openclaw-gcp-setup/tree/main/.claude/skills/gcp-secret
Command: npx skills add https://github.com/kubony/openclaw-gcp-setup --skill gcp-secret

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing sensitive data such as API keys and passwords across Google Cloud projects can be error-prone and tedious. This Skill centralizes secret storage actions via the gcloud CLI, reducing manual steps and improving security.

Core Features & Use Cases

  • Secret discovery: List existing secrets across a project and view their metadata.
  • Secret creation & updating: Create new secrets or add new versions to existing ones with proper project scoping.
  • Version management & access: Retrieve the latest or specific secret versions for deployment or debugging.
  • Use Case: A CI/CD workflow needs to inject API keys into Cloud Run or Compute instances without hardcoding them in source.

Quick Start

Use the gcp-secret skill to list, create, or fetch secret values in your active Google Cloud project. gcloud config set project YOUR_PROJECT_ID gcloud secrets list --project=$PROJECT_ID gcloud secrets create SECRET_NAME --project=$PROJECT_ID echo -n "my-secret-value" | gcloud secrets create SECRET_NAME --data-file=- --project=$PROJECT_ID gcloud secrets versions access latest --secret=SECRET_NAME

Frequently Asked Questions about gcp-secret

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage GCP Secret Manager secrets across multiple projects using gcloud?

You can manage GCP Secret Manager secrets across projects by using gcloud secrets commands with the --project flag. This Skill automates listing, creating, updating, and accessing secret versions to securely handle API keys and passwords across environments.

What is the best way to inject API keys into Cloud Run without hardcoding them in source?

The best way to inject API keys into Cloud Run without hardcoding is storing them in GCP Secret Manager. This Skill automates fetching secret values via gcloud secrets versions access, allowing CI/CD workflows to retrieve confidential data securely during deployment.

How do I create a new secret and add new versions in Google Cloud Secret Manager?

To create a new secret and add versions in Google Cloud Secret Manager, use gcloud secrets create with the --data-file flag to pass the secret value. This Skill automates this process, ensuring proper project scoping for secure storage of credentials.

Can I retrieve specific secret versions for debugging instead of just the latest one?

Yes, you can retrieve specific secret versions for debugging instead of just the latest one. This Skill relies on gcloud secrets versions access, allowing you to target specific versions or the latest version to extract exact confidential data needed for deployment or troubleshooting.

Do I need the Cloud SDK installed to automate secrets management across Google Cloud environments?

Yes, you need the Cloud SDK installed to automate secrets management across Google Cloud environments. This Skill relies entirely on the gcloud CLI's secrets commands to perform list, create, update, access, and version management operations across your projects.

Why use gcloud CLI for secrets management instead of manual configuration in Google Cloud?

Using gcloud CLI for secrets management instead of manual configuration reduces errors and tedious steps when handling sensitive data like API keys. This Skill centralizes secret storage actions, improving cloud security and automating updates across multiple projects.