Skip to content
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

Secured API Key generation on the edge with Fly #283

Closed
karllhughes opened this issue Jul 21, 2020 · 2 comments
Closed

Secured API Key generation on the edge with Fly #283

karllhughes opened this issue Jul 21, 2020 · 2 comments
Labels
example An example project + readme

Comments

@karllhughes
Copy link

This wasn't on your target list, but it's a problem I came across recently that would make a good Fly use case.

Algolia is a managed search service. They host your index on a globally distributed network (so it's fast), but if you want to authenticate users, you have to generate a temporary key for them (https://www.algolia.com/doc/guides/security/api-keys/#secured-api-keys).

This means your first call will require a full trip to your backend authentication server, but you can speed that up using edge computing.

Any interest in this becoming an article for Fly?

@mrkurt
Copy link
Member

mrkurt commented Jul 21, 2020

Yep! This would be a good one. They even say this in the docs:

Secured API keys are virtual, which means they aren’t stored anywhere, and you can’t find them on the Algolia dashboard. You generate them on the fly

Building little gateways to other services is a good use of Fly.

@mrkurt mrkurt added the example An example project + readme label Jul 21, 2020
@karllhughes
Copy link
Author

Content and Example Projects automation moved this from Ideas to Done Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
example An example project + readme
Development

No branches or pull requests

2 participants