create-secret

Manage Harness secrets via MCP v2 across projects, orgs, and accounts.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates secrets management in Harness via MCP v2, covering SecretText, SecretFile, SSHKey, and WinRmCredentials across projects, orgs, and accounts.

Core Features & Use Cases

  • Create, list, update, describe, and delete secrets with type-specific configurations.
  • Support multiple secret managers (Harness built-in, Vault, AWS Secrets Manager, Azure Key Vault, Google Secret Manager) and cross-scope usage.
  • Reference secrets in pipelines and services to securely inject credentials while maintaining least-privilege access.

Quick Start

Create a new SecretText in your project 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 automate Harness secret creation and management across projects?

Automate Harness secret creation and management across projects, orgs, and accounts using MCP v2 tooling. You can perform list, get, create, update, describe, and delete operations to enforce secure automation policies.

What secret types can I manage through MCP v2 in Harness?

MCP v2 in Harness supports managing SecretText, SecretFile, SSHKey, and WinRmCredentials. It applies type-specific configurations to securely inject credentials into pipelines and services.

Can I use external secret managers like Vault or AWS Secrets Manager with Harness secrets?

Yes, Harness secrets management supports multiple secret managers including Harness built-in, Vault, AWS Secrets Manager, Azure Key Vault, and Google Secret Manager. It enables cross-scope usage for secure credential injection.

How do I delete or update an existing SSH key or SecretText in Harness?

Update or delete existing SSHKey or SecretText secrets in Harness by executing targeted MCP v2 tooling operations. The automation covers complete lifecycle management including describe, update, and delete actions.

Does MCP v2 support cross-scope secret references for least-privilege access in pipelines?

Yes, MCP v2 supports cross-scope secret references to securely inject credentials into pipelines and services. This mechanism maintains least-privilege access across different organizational and project scopes.