docs: clarify oauth vs api key and add setup steps

This commit is contained in:
Moritz Graf
2026-01-06 13:39:43 +01:00
parent 754e495607
commit 2c250f601b
3 changed files with 75 additions and 12 deletions
+6
View File
@@ -109,6 +109,12 @@ def main():
create_secret(secret_id)
# Prompt for value
if secret_id == "haumdaucher-oauth-client-id":
print(f" ℹ️ Go to GCP Console > Credentials > OAuth 2.0 Client IDs")
print(f" Copy the 'Client ID' (ends in .apps.googleusercontent.com)")
elif secret_id == "haumdaucher-oauth-client-secret":
print(f" ℹ️ Copy the 'Client Secret' (shorter string, hidden in console)")
print(f" Enter value for {description} (Input hidden): ")
# Use getpass logic via manual read to support all shells or just input() but masked?
# getpass in python is better.