Authors
Author image

Ed Shryane

Based in Amsterdam

4

Articles

65

Likes on articles

About the author

I'm a Senior Technical Analyst with the RIPE NCC, working on Whois and the RIPE database.

Links & Social

Email: eshryane@ripe.net

Published tags

• Reply to Charlie Boisseau on Using API Keys in the RIPE Database by Ed Shryane

“Only allowing keys to last a year is unreasonable. I suggest you should allow keys to have expiry of a few years (or even not expire at all), but require them to be locked-down to specific IPs. Also, PLEASE make sure you have robust email warnings for upcoming key expiration. This will likely break a lot of people's update scripts when they inevitably forget to refresh their API keys each year.”

Hello Charlie, thanks for your feedback. The 1 year expiry requirement was discussed last year: https://mailman.ripe.net/archives/list/db-wg@ripe.net/thread/CAT5DHOTRPU4YJJ22AT2BOPTYDSTCM5A/#2HRL43LB3L5FCSYBSA3R2BVFB54MILRN. The RIPE NCC Access service will send an email to the email address 2 weeks before an API key is due to expire. I suggest that users also make a calendar entry or similar reminder before a key expires. You can see when a key expires on the API keys page.

• Reply to Tomaž Majerhold on Using API Keys in the RIPE Database by Ed Shryane

“Some legacy software still use password as HTTP query parameter will this still work? So if I generate and then use username & password can it be used as HTTP query parameters?”

Hi Tomaž any software that uses password authentication will need to be updated to use an alternative: https://docs.db.ripe.net/Authorisation/Authorisation-Model API keys are meant to be a "drop-in" alternative to passwords, by replacing the password query parameter with a HTTP Authorisation header, or use the HTTP client's username / password flags (e.g. for curl it's -u or --user).

• Reply to Mick O'Donovan on Using API Keys in the RIPE Database by Ed Shryane

“Fantastic to see this live Ed and thank you to you and the team for making it happen. Is there a full documentation page for the API by chance? Specifically, I'd like to know if the rest API supports updates via application types other than XML?”

Thanks Mick, that's a good idea. I'll update the appendix on API keys in the DB documentation : https://docs.db.ripe.net/Appendices/Appendix-K--API-Keys/

• On Dry-Run Testing in the RIPE Database by Denis Walker

Hello David, unfortunately, the beta syncupdates page does not support the dry-run parameter. This is a bug that we should fix. in the meantime, please click "Switch to classic syncupdates" on the top right side of the page, in order to use the dry-run flag. Regards Ed Shryane RIPE NCC

Showing 4 comment(s)

Previous
1
Next