Basically could I create a single GCP project for my org's CalendarSync, and then reuse that client ID and client secret across many sync.yaml files (I'm imagining each user in my org would configure their file and add it to a repo), and then run calendar sync for those files? Would there need to be any change to CalendarSync, or if in it's current state could it do this?
- CalendarSync/
- calendarsync
- auth-storage.yaml
- user1-sync.yaml
- user2-sync.yaml
...
Then have some script that on a schedule does:
userConfigs = all *-sync.yaml files
for userConfig in userConfigs
CALENDARSYNC_ENCRYPTION_KEY=sharedkey ./calendarsync --config userConfig
Basically could I create a single GCP project for my org's CalendarSync, and then reuse that client ID and client secret across many sync.yaml files (I'm imagining each user in my org would configure their file and add it to a repo), and then run calendar sync for those files? Would there need to be any change to CalendarSync, or if in it's current state could it do this?
Then have some script that on a schedule does: