We are happy to announce support for Organizations on NuGet.org. This will help businesses and open-source projects collaborate on packages using a single nuget.org identity.
Why organizations?
NuGet.org used to allow you to create an account and publish packages through that account with little support to manage and publish packages as a team or a group. To overcome the single account – single user limitation, many users shared credentials of the account across the group. Obviously this is not a secure way to collaborate and has no audit trail for package updates across different users. With the deprecation of NuGet.org’s homegrown username/password mechanism, sharing credentials would mean sharing your Microsoft account’s credential – an absolute non-starter!
Organizations allows you to keep a single identity for all your packages but lets different users collaborate on the organizations’ packages. You can be a member of multiple organizations and manage all your packages together by signing in to your user account. At any point in time, you have the audit trail of all the packages’ updates across all the organization’s members.
Note: For a package consumer, an organization account appears same as an existing user account on nuget.org.
Adding an organization account
Adding a new organization is very simple – just provide the account name and email address like you would do for creating a user account:
Transforming an existing account to an organization
If you want to keep using the existing nuget identity for your packages, you can transform the existing NuGet.org account to an organization in a matter of few clicks.
How do I submit packages that belong to the organization?
Once you have created an organization and you are a member of the organization, you can either directly upload your packages with the organization as the package owner or create an API key scoped to an organzation and use that API key to push the packages through the CLI.
Get started with organizations today!
To get started with organizations, go to Manage Organizations and select Add new organization or Transform your account to an organization option that suits your need.
More information about the feature is available on our documentation. If you have any feedback or suggestions specific to organizations feature, use NuGet/NuGetGallery#4627. For any other issues or feedback, do let us know by creating a new issue on our GitHub repo
0 comments