Skip to content
G4B Practice
Dashboard
Prompts
Resources
Chapter 8
Hybrid Workflows: Chat Designs, CLI Executes
Question 1 of 10
Chapter 8
Intermediate
Migrating a Tuesday batch to API-key auth
Mira's Tuesday batch is now stable enough to run via cron at 6am. She is on OAuth. What is the migration path?
A.
Stop the cron and run manually; OAuth and cron are incompatible
B.
(1) Generate an API key at `aistudio.google.com` for her account. (2) Set the API key in cron environment via secret manager or restricted-permissions file. (3) Test the cron script once manually with the API key, confirm batch runs. (4) Schedule the cron. (5) Her laptop OAuth setup remains untouched; laptop and server have separate auth contexts
C.
Share her OAuth token with the server
D.
Use a browser automation tool to fake OAuth in cron