create-secret

Manage Harness Secrets with MCP v2 tools for CRUD operations.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/thisrohangupta/cursor-harness-plugin --skill create-secret-thisrohangupta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-secret
Source: https://github.com/thisrohangupta/cursor-harness-plugin/tree/main/skills/create-secret
Command: npx skills add https://github.com/thisrohangupta/cursor-harness-plugin --skill create-secret-thisrohangupta

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires harness-mcp-v2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and management of Harness Secrets, ensuring secure and efficient handling of sensitive information.

Core Features & Use Cases

  • Secret Creation: Generate and manage various secret types (SecretText, SecretFile, SSHKey, WinRmCredentials) with configurable secret managers.
  • Secret Management: Utilize MCP v2 tools for listing, getting, creating, updating, and deleting secrets.
  • Use Case: When you need to create a new API key or manage SSH credentials for a server, this Skill provides the necessary tools to do so securely and efficiently.

Quick Start

Use the create-secret skill to create a new SecretText for a GitHub personal access token at the project level using the Harness built-in secret manager.

Frequently Asked Questions about create-secret

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

FAQPage Schema
How do I manage Harness Secrets for API keys and SSH credentials?

You can manage Harness Secrets using MCP v2 tools to create, list, get, update, and delete sensitive data like API keys and SSH credentials. The Skill supports SecretText, SecretFile, SSHKey, and WinRmCredentials types with configurable secret managers.

Do I need a Harness MCP v2 server to create and manage secrets?

Yes, you need the Harness MCP v2 server and a configured secret manager to use this Skill for creating and managing secrets. These dependencies provide the necessary tools to securely handle sensitive information across your infrastructure.

What types of secrets can I create and update in Harness?

You can create and update SecretText, SecretFile, SSHKey, and WinRmCredentials types in Harness. This allows you to securely store API keys, credential files, and server authentication details using configurable secret managers.

Can I use the Harness built-in secret manager to store a GitHub personal access token?

Yes, you can use the Harness built-in secret manager to store a GitHub personal access token as a SecretText. This provides a secure method for handling API keys at the project level without exposing sensitive authentication data.

What's the best way to delete outdated SSH credentials from my Harness project?

The best way to delete outdated SSH credentials is to use the MCP v2 tools to securely remove the SSHKey secret from your Harness project. This ensures your secret management remains clean and prevents unauthorized access to your servers.

Why does WinRmCredentials secret management require a configurable secret manager in Harness?

WinRmCredentials management requires a configurable secret manager to securely store and retrieve Windows Remote Management authentication data. This ensures sensitive credentials are handled properly through the Harness MCP v2 server during creation and updates.