Agent skill · DevOps & Cloud

kubesphere-devops-credentials

Use when managing credentials in KubeSphere DevOps, including repository credentials, kubeconfig, and API tokens

kubespheregithub.com/kubesphereGitHub ↗
claude-codeNOASSERTION
Install
npx skills add kubesphere/kubesphere --skill kubesphere-devops-credentials --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 16 KB
Bundled scripts: none
Path: skills/kubesphere-devops-credentials/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 17,016
Language: Go
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# KubeSphere DevOps Credentials ## Overview Credentials in KubeSphere DevOps are Kubernetes Secrets with specific labels and annotations. They are synced to Jenkins for use in pipelines. Supported types include SSH keys, username/password, and secret tokens. ## When to Use - Creating credentials for Git repositories - Setting up deployment credentials (kubeconfig, registry) - Managing API tokens for external services - Troubleshooting credential access issues - Migrating credentials between DevOps projects ## Credential Types | Type | Use Case | Secret Key | |------|----------|------------| | **SSH** | Git repositories | `username`, `privatekey` | | **Basic** | Username/password | `username`, `password` | | **Secret** | API tokens, secrets | `secret` | | **Kubeconfig** | Kubernetes clusters | `kubeconfig` (v1.1.x only) | | **SSH Username/Pass** | Git with user/pass | `username`, `password` | | **String** | Generic text/tokens | `secret` | ## Resource Structure Credentials are stored as Kubernetes Secrets with DevOps labels: ```yaml apiVersion: v1 kind: Secret metadata: name: my-credential namespace: project-xxx # DevOps project namespace labels: devops.kubesphere.io/credential: "tr

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Credential Types
  4. Resource Structure
  5. API Endpoints
  6. Common Operations
  7. List Credentials
  8. Create SSH Credential
  9. Create Basic Auth Credential
  10. Create Basic Auth for Git Access Token (GitHub/GitLab)
  11. Create Secret Text Credential
  12. Using Credentials in Pipelines
  13. SSH Key for Git Checkout
  14. WithCredentials Step
Commands it runs
curl "https://kubesphere-api/kapis/devops.kubesphere.io/v1alpha3/namespaces/{devops}/credentials" \
curl -X POST "https://kubesphere-api/kapis/devops.kubesphere.io/v1alpha3/namespaces/{devops}/credentials" \
For GitHub/GitLab access tokens
curl -X POST "https://kubesphere-api/kapis/devops.kubesphere.io/v1alpha3/namespaces/{devops}/gitrepositories" \
cat <<EOF | kubectl apply -f -
Via API
curl "https://kubesphere-api/kapis/devops.kubesphere.io/v1alpha3/namespaces/{devops}/gitrepositories" \
Via kubectl
kubectl get gitrepositories -n demo-project
set -e
More from kubesphere
All skills →
About this skill
What does the kubesphere-devops-credentials skill do?

Use when managing credentials in KubeSphere DevOps, including repository credentials, kubeconfig, and API tokens

How do I install it?

Run `npx skills add kubesphere/kubesphere --skill kubesphere-devops-credentials --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From kubesphere/kubesphere, a repository with 17,016 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going