developmentseed / eoapi-k8s

eoAPI IaC and k8 deployments for AWS, GCP and Azure
https://eoapi.dev/
MIT License
10 stars 5 forks source link

Implementing Transaction API and Auth #33

Open ranchodeluxe opened 1 year ago

ranchodeluxe commented 1 year ago

For CDK and K8s what are the auth workflows we can use to wrap the transaction API for ingestion

AC:

ranchodeluxe commented 1 year ago

Let's wait until we have a bulk API ingest in STAC

batpad commented 9 months ago

Going to try and enliven this issue. Ref https://github.com/developmentseed/labs/issues/346 .

I think we have a decent implementation thanks to @alukach and @edkeeble of handling OAuth2, and then connecting to an authorization system to implement some authorization rules.

Relevant repos:

I'd love to see if this could be added to the eoapi-k8s setup and maybe we figure out some basic configurability that's possible via supplying some values. So maybe to start with, something like:

We can document how you could write code to implement more complex auth scenarios, but this would allow us to have authentication and authorization out-of-the-box with an eoapi-k8s install.

@ranchodeluxe does this sound reasonable? Would you have the time / interest to try and help?

pantierra commented 2 weeks ago

Updating here the approach for authentication we are taking:

  1. https://github.com/EOEPCA/data-access/issues/109
  2. Include eoapi-auth-utils
  3. Connect it with EOEPCA's Keycloak
  4. https://github.com/EOEPCA/resource-discovery/issues/99