From b525ac9ea8259cec7b6bcf2591543d06ab8f619f Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Wed, 29 Nov 2023 14:14:32 -0500 Subject: [PATCH] Update README.md add short set of instructions wrt the nuget api key rotation --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index ef00ea1..3786411 100644 --- a/README.md +++ b/README.md @@ -145,3 +145,28 @@ github action file](.github/workflows/native-nuget-publish.yml). For more inform Once the the native library is published to NuGet, the idiomatic SDK references the NuGet package to provide the single, cross-platform, idiomatic dotnet NuGet package for easy downstream inclusion in projects. + +## Rotating the NuGet API Key +Here's a short set of instructions for how to rotate the NuGet API key for pushing updates + +* go to https://www.nuget.org/account/ApiKeys + ``` + Key Name: + Expires In: 365 days + Package Owner: OpenZiti + + Select Scopes: + Push (checked) + Push new packages and package versions (selected) + Push only new package versions (unselected) + Unlist package (unchecked) + Glob Pattern: OpenZiti.* + + Select Packages: + Available Packages: + OpenZiti.NET + OpenZiti.NET.native + ``` + +* go to https://github.com/organizations/openziti/settings/secrets/actions +* find/update: NUGET_API_KEY with the key made above