Samuel Bunce

02/02/2023, 2:10 PM
hi Prefect, quick question about github PATs - I would like to run agents on-prem, and to read from a github storage block that is also on-prem (github enterprise). However, I would like to use cloud prefect for scheduling. Firstly, if I have understood, code is never sent via prefect cloud, but directly from the storage block to the agent, is this correct? Secondly, Is it safe for me to place a github PAT in prefect cloud? I've tried to find documentation on this but haven't seen much so far. Thank you


02/02/2023, 5:24 PM
1. Yes 2. Yes. You could also keep it as an environment variable in your own infrastructure if you don’t want to trust us with it. It’s encrypted at rest.

Samuel Bunce

02/03/2023, 12:50 PM
thank you, good to know!