PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

How to apply API Key to publish module on PSGallery

Open dingmeng-xue opened this issue 5 years ago • 3 comments

I'm from Azure PowerShell team. We have an API Key to publish Azure PowerShell modules including Azure Stack powershell module.

How can we allow Azure Stack team own their API Key and publish their module by themselves? We cannot share our key because it is not only for Azure Stack module but also other Azure PowerShell modules.

Below are sample modules from Azure Stack https://www.powershellgallery.com/packages/Azs.Subscriptions/0.9.0-preview https://www.powershellgallery.com/packages/Azs.Compute.Admin/0.9.0-preview

dingmeng-xue avatar Jul 24 '20 07:07 dingmeng-xue

@bganapa @erich-wang for your awareness.

dingmeng-xue avatar Jul 24 '20 07:07 dingmeng-xue

When creating an API key you can use the glob pattern to associated an API with a particular package or subset of packages...does that help address this issue image

SydneyhSmith avatar Jul 28 '20 15:07 SydneyhSmith

@dingmeng-xue For publishing the .NET SDKs, we delegate the permissions of each SDK to the individual RP team. I am not sure how that is achieved in nuget.org. Can we explore how we do that with nuget.org and then we can mimic the same with powershellgallery.com (if that option is available)

bganapa avatar Jul 28 '20 15:07 bganapa