berkeley-dsep-infra / hubploy

Toolkit to deploy many z2jh based JupyterHubs
BSD 3-Clause "New" or "Revised" License
17 stars 15 forks source link

Read all credentials from a creds/ directory #18

Open yuvipanda opened 5 years ago

yuvipanda commented 5 years ago

We currently require service keys be duplicated for each hub, even though they may be on the same cluster. This provides more room for error and leaks.

Instead, we should have a centralized dir that contains all credentials based on cluster / project names that can be re-used. We should also rotate these periodically, so having them in one place makes that much easier.