Skill / SKILL.md

Nuget Trusted Publishing

dotnet/skills

Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet/login, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.
3 views 6,410 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet/login, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/dotnet/skills' skill-source

Use the complete skill-source/plugins/dotnet-advanced/skills/nuget-trusted-publishing directory with your client’s skill installer.

  • plugins/dotnet-advanced/skills/nuget-trusted-publishing

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/dotnet-advanced/skills/nuget-trusted-publishing

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
458b1dbf96a49013487148318aa83bab87b53418c7eab4fbbfc5b47f1c69d827
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills