Shorter validity of API keys for package publication is intended to strengthen NuGet's security. It affects both existing and new keys.
NuGet API key expiration 2026: Microsoft caps new NuGet.org API keys at 30 days starting August 17, forcing all existing keys ...