-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support User & Org API keys #62
Labels
Minor
Up to 4 hours
Milestone
Comments
+1 |
@peeringdb/pc I'm all for this, please vote! |
+1
…On Thu, Mar 3, 2022 at 19:17 Matt Griswold ***@***.***> wrote:
@peeringdb/pc <https://github.com/orgs/peeringdb/teams/pc> I'm all for
this, please vote!
—
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFA2YQXJULQG52BRYAGBI63U6FJCVANCNFSM5P4C7TWQ>
.
You are receiving this because you are on a team that was mentioned.Message
ID: ***@***.***>
|
Agreed |
Yes, useful. +1 |
vegu
pushed a commit
that referenced
this issue
Apr 11, 2022
vegu
added a commit
that referenced
this issue
Apr 11, 2022
Support User & Org API keys #62 See merge request gh/peeringdb/peeringdb-py!9
Merged
vegu
added a commit
that referenced
this issue
May 13, 2022
* Support User & Org API keys #62 * linting * changelog * fix http status check for invalid auth * poetry lock / pre-commit * fix github test workflow * use correct poetry workflow * comment pre-commit check for now * more workflow adjustments * fix workflows, add py3.10 * poetry lock, use collections.abc * clean up * fix typo * add munge extras flag to install yaml (#57) * update deps * update mypy Co-authored-by: David Poarch <dpoarch@20c.com> Co-authored-by: Matt Griswold <grizz@20c.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now that PeeringDB supports API keys (User & Org), we need to update this premier caching client to support them.
I recommend a config.yaml entry as follows, along with a documentation update:
As part of this effort, both API key and user/pass authentication errors should be printed for the user to see, along with a failure exit code from a
peeringdb sync
attempt, so that users running this from cron, such as with chronic, may be informed of failures.The text was updated successfully, but these errors were encountered: