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