You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api-v3): add apiKey command and pass API key to protected services
On July 18th, 2019, Troy Hunt moved the haveibeenpwned.com API to v3 and protected several services
behind authentication, requiring an API key. See his blog post here:
https://www.troyhunt.com/authentication-and-the-have-i-been-pwned-api/
BREAKING CHANGE: Several of the haveibeenpwned.com services now require an API key from
https://haveibeenpwned.com/API/Key. See [Troy's blog
post](https://www.troyhunt.com/authentication-and-the-have-i-been-pwned-api/) for rationale and a
full explanation. Once you have obtained your API key, you must run "pwned apiKey <your-key>" to
configure `pwned` so that it may use it in future requests made to protected endpoints. Some
commands, like `pw`, do not require an API key and will continue to function without one. Thus, you
may continue to use `pwned` without an API key, as long as you only care about the commands that do
not require one. Each command indicates if it requires an API key in the help for the specific
command.
0 commit comments