Open pcgeek86 opened 2 years ago
Thanks @pcgeek86! Here are our answers to your questions:
When you initially create the API key you have option to specify which modules it applies to, there is no way to retrieve this information from the keys themselves.
Simply put, no there isn't. We do not keep track of this information.
We cannot figure out that information from the keys, if you suspect it is being used by someone else we suggest you deactivate that API key and create a new one.
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
cross-posted from: https://stackoverflow.com/questions/68926131/identify-applications-utilizing-powershell-gallery-api-keys-and-last-access-time