Skip to content

Implemented update and authentication tools#50

Merged
zradlicz merged 24 commits intomasterfrom
feature/update-script
Aug 1, 2025
Merged

Implemented update and authentication tools#50
zradlicz merged 24 commits intomasterfrom
feature/update-script

Conversation

@zradlicz
Copy link
Contributor

@zradlicz zradlicz commented Jul 25, 2025

Main Change

Added auth module which helps with authentication using google secrets.

Before:

  • Users had to get access to the read only username and password and paste them into the .env file template

After:

  1. users run rtgs auth login to login using their google username and password externally. This uses Google's gcloud CLI authentication tool (src/rtgs_lab_tools/auth/auth_service.py)
  2. google cloud python package uses secretmanager to load google secrets with the credentials created in previous step (src/rtgs_lab_tools/core/secret_manager.py and config.py)
  3. secret manager falls back to using variables defined in .env manually if secrets can not be found from Google
  4. User Access is managed through adding people or removing people from specific secrets in Google Secrets on GCP

Other Changes

Updated install script to handle updating and added cli to core module to handle version information and updating
Tools are detailed in readme but are

rtgs core version
rtgs core update

Converted to using uv as a package manager for faster install

Various documentation updates for smoother installation

Various bugfixes

Closes #43
Closes #44
Closes #45
Closes #46
Closes #47

@zradlicz zradlicz marked this pull request as ready for review August 1, 2025 14:49
@zradlicz zradlicz merged commit f03b93e into master Aug 1, 2025
3 checks passed
@zradlicz zradlicz deleted the feature/update-script branch August 1, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant