Skip to content

[earthscope] Restrict dask-gateway access #7982

@GeorgianaElena

Description

@GeorgianaElena

Context

dask/dask-gateway#863 allows dask-gateway access based on group membership.

Docs at https://gateway.dask.org/authentication.html#using-jupyterhub-s-authentication

What we need to do

  1. Setup jupyterhub.ServiceName to match what we have setup in jupyterhub.hub.services
dask-gateway:
  gateway:
    auth:
      jupyterhub:
        jupyterhubServiceName: dask-gateway
  1. Grant access:services!service=dask-gateway to the relevant group, as agreed with earthscope
  2. Add that same scope to c.Spawner.server_token_scopes

Definition of Done

  • Only the members of the selected group can access dask-gateway

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

In review/blocked

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions