PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

Identify applications utilizing PowerShell Gallery API keys and last access times

Open pcgeek86 opened this issue 2 years ago • 1 comments

Synopsis

I am using API keys in PowerShell Gallery to automatically publish modules from source code in GitHub. I'm using GitHub Actions as a continuous deployment system.

However, I also occasionally publish modules to PowerShell Gallery manually, from other locations. I have multiple API keys configured in PowerShell Gallery, but I don't know which API keys are being used by which applications.

Question

  • How do I determine which API key is being used by a particular application?
  • Is there any kind of access log that indicates which IP addresses or reverse DNS names are using a particular API key?
  • How do I know the last time that an API key was actually used, and by whom?

cross-posted from: https://stackoverflow.com/questions/68926131/identify-applications-utilizing-powershell-gallery-api-keys-and-last-access-time

pcgeek86 avatar Aug 25 '21 15:08 pcgeek86